优化删除 业主信息

This commit is contained in:
java110 2022-03-31 09:32:25 +08:00
parent 9f3c556792
commit ef6026460e

View File

@ -24,14 +24,14 @@
emulateJSON: true
},
function(json, res) {
//vm.menus = vm.refreshMenuActive(JSON.parse(json),0);
if (res.status == 200) {
let _json = JSON.parse(json);
if (_json.code == 0) {
//关闭model
$('#deleteOwnerModel').modal('hide');
vc.emit($props.notifyLoadDataComponentName, 'listOwnerData', {});
return;
}
vc.component.deleteOwnernfo.errorInfo = json;
vc.toast(_json.msg);
},
function(errInfo, error) {
vc.toast(errInfo);