fix 修改project页面和asset页面的endpoint不公用一个缓存
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
:custom-table-title.sync="tools.customTableTitle"
|
:custom-table-title.sync="tools.customTableTitle"
|
||||||
:original-table-title="tableTitle"
|
:original-table-title="tableTitle"
|
||||||
ref="customTableTitle"
|
ref="customTableTitle"
|
||||||
:path="'/project'"
|
:path="'/projectBottom'"
|
||||||
></element-set>
|
></element-set>
|
||||||
</transition>
|
</transition>
|
||||||
<el-table
|
<el-table
|
||||||
@@ -395,8 +395,8 @@
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
//初始化表头
|
//初始化表头
|
||||||
this.tools.customTableTitle = localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-/project")
|
this.tools.customTableTitle = localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-/projectBottom")
|
||||||
? JSON.parse(localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-/project"))
|
? JSON.parse(localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-/projectBottom"))
|
||||||
: this.tableTitle;
|
: this.tableTitle;
|
||||||
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user