|
|
@@ -4,13 +4,14 @@
|
|
|
<div class="settingBox" @click="mouseClick">
|
|
|
<!-- 设置盒子顶部搜索 -->
|
|
|
<div class="topSearch">
|
|
|
- <div style="position: relative;">
|
|
|
+ <!-- <div style="position: relative;">
|
|
|
<el-input v-model="searchFire" class="searchFire" size="large" placeholder="搜索文件"
|
|
|
style="width: 15rem;" />
|
|
|
<el-icon style="color: gray;display: inline-block;position: absolute;top: 8px;right: 5px;">
|
|
|
<Search />
|
|
|
</el-icon>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
+ <div class="">{{spaceName}}</div>
|
|
|
<div>
|
|
|
<el-icon style="font-size: 24px;" @click="createNewMenu(1,true)">
|
|
|
<Plus />
|
|
|
@@ -650,6 +651,7 @@ export default {
|
|
|
const addTab = inject("addTab");
|
|
|
const addFileTab = inject("addFileTab");
|
|
|
const addFolderAdd = inject("addFolderAdd");
|
|
|
+ const spaceName = ref()
|
|
|
// 获取文件夹,中栏,文件
|
|
|
function getAllTop() {
|
|
|
documents.getTop(3).then(res => {
|
|
|
@@ -659,6 +661,7 @@ export default {
|
|
|
newSpaceId.value = userMe[0].spaceId//变化
|
|
|
newDirId.value = userMe[0].dirId//变化
|
|
|
topPath.value = userMe[0].dirPath
|
|
|
+ spaceName.value = userMe[0].dirPath
|
|
|
let obj = {
|
|
|
pageNum: 1,
|
|
|
pageSize: 10
|
|
|
@@ -1808,7 +1811,8 @@ export default {
|
|
|
addFolderAdd,
|
|
|
addFileTab,
|
|
|
threeBe,
|
|
|
- newAdd
|
|
|
+ newAdd,
|
|
|
+ spaceName
|
|
|
}
|
|
|
},
|
|
|
watch: {
|