mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-16 03:33:27 +08:00
优化发布文章bug
This commit is contained in:
parent
1b2d6afe47
commit
321883e091
@ -103,13 +103,15 @@
|
||||
},
|
||||
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.component.clearaddActivitiesViewInfo();
|
||||
vc.emit('activitiesManage', 'pageReload', {});
|
||||
vc.toast("发布成功");
|
||||
return;
|
||||
}
|
||||
vc.toast(_json.msg);
|
||||
},
|
||||
function(errInfo, error) {
|
||||
console.log('请求失败处理');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user