左侧菜单和页面内容展示

This commit is contained in:
暮光:城中城
2019-05-30 22:45:22 +08:00
parent f5249f39e1
commit 7f4f3fd432
16 changed files with 5413 additions and 3 deletions

View File

@@ -4,8 +4,16 @@ var URL = {
getUserInfo: '/user/getUserInfo',
pageUpdate: '/zyplayer-doc-wiki/page/update',
pageList: '/zyplayer-doc-wiki/page/list',
updatePage: '/zyplayer-doc-wiki/page/update',
updateDetail: '/zyplayer-doc-wiki/page/detail',
spaceList: '/zyplayer-doc-wiki/space/list',
updateSpace: '/zyplayer-doc-wiki/space/update',
updatePageFile: '/zyplayer-doc-wiki/page/file/update',
pageCommentList: '/zyplayer-doc-wiki/page/comment/list',
updatePageComment: '/zyplayer-doc-wiki/page/comment/update',
pageZanList: '/zyplayer-doc-wiki/page/zan/list',
updatePageZan: '/zyplayer-doc-wiki/page/zan/update',
};
var URL1 = {};

View File

@@ -19,7 +19,9 @@ export default {
return this.data.accessToken;
},
validateResult: function (res, callback) {
if (res.data.errCode == 400) {
if (!!res.message) {
global.vue.$message('请求错误:' + res.message);
} else if (res.data.errCode == 400) {
global.vue.$message('请先登录');
window.location = apimix.apilist1.HOST + "/static/manage/login.html";
} else if (res.data.errCode == 402) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long