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
800fc3c254
commit
8cbbbbbc9c
@ -739,7 +739,7 @@ $(function () {
|
||||
$body.on('click', '[data-queue]', function () {
|
||||
var action = this.getAttribute('data-queue') || '';
|
||||
if (action.length < 1) return $.msg.tips('任务地址不能为空!');
|
||||
this.loading = function () {
|
||||
this.loading = function (index) {
|
||||
$.form.load(action, {}, 'post', function (ret) {
|
||||
if (typeof ret.data === 'string' && ret.data.indexOf('Q') === 0) {
|
||||
return $.loadQueue(ret.data), false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user