新建印章分类按钮无响应问题
This commit is contained in:
parent
fb139de9d0
commit
9a9d1893bf
@ -120,7 +120,7 @@
|
||||
}, function(index) {
|
||||
let callback = function (e) {
|
||||
layer.msg(res.msg);
|
||||
if (res.code == 1) {
|
||||
if (res.code == 0) {
|
||||
obj.del();
|
||||
}
|
||||
}
|
||||
|
@ -85,7 +85,7 @@
|
||||
}
|
||||
});
|
||||
|
||||
$('.body-table').on('click','.addNew',function(){
|
||||
$('body').on('click','.addNew',function(){
|
||||
addExpense(0,'');
|
||||
});
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -102,7 +102,7 @@
|
||||
}, function(index) {
|
||||
let callback = function (e) {
|
||||
layer.msg(res.msg);
|
||||
if (res.code == 1) {
|
||||
if (res.code == 0) {
|
||||
obj.del();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user