|
|
@ -88,6 +88,8 @@ export default { |
|
|
|
type: 'warning', |
|
|
|
cancelButtonClass:'rowDropNotHideItem' |
|
|
|
}).then(() => { |
|
|
|
// 先set是为了字段设置按钮可以监听到缓存变化,之后在移除缓存 |
|
|
|
localStorage.setItem('tableColumns_' + this.$store.getters.name.userName + '_' + this.$route.name, JSON.stringify([])) |
|
|
|
localStorage.removeItem('tableColumns_' + this.$store.getters.name.userName + '_' + this.$route.name) |
|
|
|
let _resetCol = this.$isTableColumns[this.$route.name] |
|
|
|
_resetCol.forEach(item => { |
|
|
|