权限开发,页面交互开发,增加阅读数

This commit is contained in:
暮光:城中城
2019-06-05 22:53:24 +08:00
parent 96d081fdae
commit 605c97347d
34 changed files with 537 additions and 5282 deletions

View File

@@ -53,7 +53,7 @@
cancelButtonText: '继续编辑',
type: 'warning'
}).then(() => {
app.$router.back();
});
},
createWikiSave() {
@@ -74,7 +74,8 @@
toast.success("保存成功!");
// 重新加载左侧列表,跳转到展示页面
global.vue.$app.doGetPageList(null);
app.$router.push({path: '/page/show', query: {pageId: json.data.id}});
app.parentPath.pageId = json.data.id;
app.$router.push({path: '/page/show', query: app.parentPath});
});
},
loadPageDetail(pageId) {