fix:修改表格中英文切换时的部分表格表头没变换的问题
This commit is contained in:
@@ -848,6 +848,7 @@
|
||||
this.tools.customTableTitle = localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + '/alertList')
|
||||
? JSON.parse(localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + '/alertList'))
|
||||
: this.tableTitle;
|
||||
this.tableTitleReset(this.tableTitle,this.tools.customTableTitle);
|
||||
//是否存在分页缓存
|
||||
let pageSize = localStorage.getItem('nz-pageSize-' + localStorage.getItem('nz-username') + '-' + this.tableId);
|
||||
if (pageSize != 'undefined' && pageSize != null) {
|
||||
|
||||
@@ -512,7 +512,7 @@
|
||||
this.tools.customTableTitle = localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-/projectBottom")
|
||||
? JSON.parse(localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-/projectBottom"))
|
||||
: this.tableTitle;
|
||||
|
||||
this.tableTitleReset(this.tableTitle,this.tools.customTableTitle);
|
||||
this.initEvent();
|
||||
},
|
||||
beforeDestroy(){
|
||||
|
||||
@@ -317,6 +317,7 @@
|
||||
this.tools.customTableTitle = localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + this.$route.path)
|
||||
? JSON.parse(localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + this.$route.path))
|
||||
: this.tableTitle;
|
||||
this.tableTitleReset(this.tableTitle,this.tools.customTableTitle);
|
||||
this.getTableData();
|
||||
},
|
||||
beforeDestroy() {
|
||||
|
||||
@@ -308,6 +308,7 @@
|
||||
this.tools.customTableTitle = localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + this.$route.path)
|
||||
? JSON.parse(localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + this.$route.path))
|
||||
: this.tableTitle;
|
||||
this.tableTitleReset(this.tableTitle,this.tools.customTableTitle);
|
||||
this.getTableData();
|
||||
},
|
||||
}
|
||||
|
||||
@@ -782,6 +782,7 @@
|
||||
this.tools.customTableTitle=localStorage.getItem("nz-tableTitle-"+localStorage.getItem("nz-username")+"-"+this.$route.path)
|
||||
?JSON.parse(localStorage.getItem("nz-tableTitle-"+localStorage.getItem("nz-username")+"-"+this.$route.path))
|
||||
:this.tableTitle;
|
||||
this.tableTitleReset(this.tableTitle,this.tools.customTableTitle);
|
||||
setTimeout(()=>{
|
||||
this.ready=true;
|
||||
},300);
|
||||
|
||||
Reference in New Issue
Block a user