mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
优化资产导入
This commit is contained in:
parent
a831040571
commit
2f3d052ca4
@ -60,15 +60,16 @@
|
||||
},
|
||||
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
|
||||
vc.toast("处理成功");
|
||||
vc.toast(_json.data);
|
||||
$('#importOwnerRoomModel').modal('hide');
|
||||
// vc.jumpToPage('/#/pages/property/listOwner')
|
||||
vc.emit('room', 'listRoom', {});
|
||||
return;
|
||||
}
|
||||
vc.toast(json, 10000);
|
||||
vc.toast(_json.msg, 10000);
|
||||
},
|
||||
function(errInfo, error) {
|
||||
console.log('请求失败处理');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user