优化bug

This commit is contained in:
wuxw 2022-12-20 14:33:38 +08:00
parent 90254f453d
commit ece055ef99
3 changed files with 3 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -21,13 +21,14 @@
},
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
$('#deleteScheduleClassesModel').modal('hide');
vc.emit('scheduleClasses', 'listScheduleClasses', {});
return;
}
vc.toast(json);
vc.toast(_json.msg);
},
function (errInfo, error) {
console.log('请求失败处理');