mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update admin.js
This commit is contained in:
parent
1396c2c0b5
commit
bb69b2e509
@ -192,7 +192,7 @@ $(function () {
|
|||||||
if (typeof Pace === 'object') Pace.restart();
|
if (typeof Pace === 'object') Pace.restart();
|
||||||
if (typeof headers === 'object') for (var i in headers) xhr.setRequestHeader(i, headers[i]);
|
if (typeof headers === 'object') for (var i in headers) xhr.setRequestHeader(i, headers[i]);
|
||||||
}, error: function (XMLHttpRequest) {
|
}, error: function (XMLHttpRequest) {
|
||||||
layer.open({
|
if (XMLHttpRequest.responseText.indexOf('exception') > -1) layer.open({
|
||||||
title: XMLHttpRequest.status + ' - ' + XMLHttpRequest.statusText + "(返回状态异常详情)",
|
title: XMLHttpRequest.status + ' - ' + XMLHttpRequest.statusText + "(返回状态异常详情)",
|
||||||
type: 2, area: ["800px", "500px"], content: ['javascript:void(0)'],
|
type: 2, area: ["800px", "500px"], content: ['javascript:void(0)'],
|
||||||
success: function ($element, index) {
|
success: function ($element, index) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user