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
8757edc409
commit
dec53f9ca9
@ -830,7 +830,7 @@ $(function () {
|
|||||||
$.msg.tips('请求地址不能为空!');
|
$.msg.tips('请求地址不能为空!');
|
||||||
} else (function (confirm, callback) {
|
} else (function (confirm, callback) {
|
||||||
confirm ? $.msg.confirm(confirm, callback) : callback();
|
confirm ? $.msg.confirm(confirm, callback) : callback();
|
||||||
})(this.dataset.confirm, function () {
|
})(e.target.dataset.confirm, function () {
|
||||||
$.form.load(e.target.dataset.queue, {}, 'post', function (ret) {
|
$.form.load(e.target.dataset.queue, {}, 'post', function (ret) {
|
||||||
if (typeof ret.data === 'string' && ret.data.indexOf('Q') === 0) {
|
if (typeof ret.data === 'string' && ret.data.indexOf('Q') === 0) {
|
||||||
return $.loadQueue(ret.data, true), false;
|
return $.loadQueue(ret.data, true), false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user