优化代码

This commit is contained in:
wuxw 2025-03-14 21:42:03 +08:00
parent cee59fe3c9
commit 69404238ff
2 changed files with 8 additions and 2 deletions

View File

@ -142,6 +142,10 @@
};
},
_initTelMachine: function (_page, _row) {
let _communityId = vc.getCurrentCommunity().communityId;
if(!_communityId || _communityId == '-1'){
return;
}
let param = {
params: {
page: 1,

View File

@ -22,11 +22,13 @@
},
function (json, res) {
//vm.menus = vm.refreshMenuActive(JSON.parse(json),0);
if (res.status == 200) {
let _json = JSON.parse(json);
vc.toast(_json.msg);
if (_json.code == 0) {
//关闭model
$('#deleteSystemUserModel').modal('hide');
vc.emit('systemUser', 'listSystemUser',{});
vc.toast("删除成功");
return;
}
},