mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优化代码
This commit is contained in:
parent
1b20651bd2
commit
92427db8c7
@ -118,7 +118,8 @@
|
||||
},
|
||||
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
|
||||
$('#addCommunityModel').modal('hide');
|
||||
vc.component.clearAddCommunityInfo();
|
||||
@ -126,7 +127,8 @@
|
||||
|
||||
return;
|
||||
}
|
||||
vc.toast(json);
|
||||
|
||||
vc.toast(json.msg);
|
||||
|
||||
},
|
||||
function (errInfo, error) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user