mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 21:59:12 +08:00
优化代码
This commit is contained in:
parent
77047e1ed0
commit
d082bc2b16
@ -98,7 +98,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
|
||||
$("#payFeeResult").modal({
|
||||
backdrop: "static",//点击空白处不关闭对话框
|
||||
@ -106,7 +107,7 @@
|
||||
});
|
||||
return;
|
||||
}
|
||||
vc.toast(json);
|
||||
vc.toast(_json.msg);
|
||||
},
|
||||
function (errInfo, error) {
|
||||
console.log('请求失败处理');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user