NEZ-2351 fix:terminal log command 二级页面时间时区错误

This commit is contained in:
zhangyu
2022-11-02 11:30:05 +08:00
parent 5974f4f0c4
commit 4426f06099
4 changed files with 5 additions and 5 deletions

View File

@@ -1321,6 +1321,9 @@ export default {
} else if (this.$refs.dataDetail) {
tableTitle = this.$refs.dataDetail.tableTitle
}
if (!tableTitle || !this.tableId) {
return
}
let localStorageTableTitle = localStorage.getItem('nz-tableTitle-' + localStorage.getItem('nz-username') + '-' + this.tableId)
localStorageTableTitle = localStorageTableTitle ? JSON.parse(localStorageTableTitle) : tableTitle
this.tools.customTableTitle = tableTitle.map((item, index) => { // 修复切换中英文的问题