修改开放文档页面位置

This commit is contained in:
暮光:城中城
2020-06-15 22:41:11 +08:00
parent 61f4c316d8
commit 74d1c06561
36 changed files with 454 additions and 103 deletions

View File

@@ -0,0 +1,24 @@
<template>
<div class="page-open-view-vue">
</div>
</template>
<script>
export default {
data() {
return {};
},
beforeRouteUpdate(to, from, next) {
},
mounted: function () {
},
methods: {}
}
</script>
<style>
</style>

View File

@@ -101,7 +101,7 @@
<el-row>
<el-select v-model="pageAuthNewUser" filterable remote reserve-keyword
placeholder="请输入名字、邮箱、账号搜索用户" :remote-method="getSearchUserList"
:loading="pageAuthUserLoading" style="width: 750px;">
:loading="pageAuthUserLoading" style="width: 750px;margin-right: 10px;">
<el-option v-for="item in searchUserList" :key="item.id" :label="item.userName" :value="item.id"></el-option>
</el-select>
<el-button v-on:click="addPageAuthUser">添加</el-button>
@@ -276,6 +276,8 @@
this.pageFileList = json.data.fileList || [];
this.uploadFormData = {pageId: this.wikiPage.id};
this.parentPath.spaceId = wikiPage.spaceId;
// 修改标题
document.title = wikiPage.name || '页面展示';
// 修改最后点击的项,保证刷新后点击编辑能展示编辑的项
// if (!this.lastClickNode.id) {
// this.lastClickNode = {id: wikiPage.id, nodePath: wikiPage.name};