新建印章分类按钮无响应问题

This commit is contained in:
hdm 2022-06-30 17:06:21 +08:00
parent fb139de9d0
commit 9a9d1893bf
4 changed files with 5 additions and 5 deletions

View File

@ -120,7 +120,7 @@
}, function(index) {
let callback = function (e) {
layer.msg(res.msg);
if (res.code == 1) {
if (res.code == 0) {
obj.del();
}
}

View File

@ -85,7 +85,7 @@
}
});
$('.body-table').on('click','.addNew',function(){
$('body').on('click','.addNew',function(){
addExpense(0,'');
});

View File

@ -125,7 +125,7 @@
success: function (res) {
$('#res').html(JSON.stringify(res));
layer.msg(res.msg);
if (res.code == 1) {
if (res.code == 0) {
token = res.data.token;
layer.close(idx);
}
@ -169,7 +169,7 @@
success: function (res) {
$('#res').html(JSON.stringify(res));
layer.msg(res.msg);
if (res.code == 1) {
if (res.code == 0) {
token = res.data.token;
layer.close(idx);
}

View File

@ -102,7 +102,7 @@
}, function(index) {
let callback = function (e) {
layer.msg(res.msg);
if (res.code == 1) {
if (res.code == 0) {
obj.del();
}
}