|
|
@ -583,6 +583,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
mixins: [spreadsheet], |
|
|
|
mixins: [spreadsheet], |
|
|
|
props: { |
|
|
|
props: { |
|
|
|
|
|
|
|
isActive: Boolean, |
|
|
|
tabId: String, |
|
|
|
tabId: String, |
|
|
|
env: String, |
|
|
|
env: String, |
|
|
|
nodes: Object, |
|
|
|
nodes: Object, |
|
|
@ -670,6 +671,11 @@ export default { |
|
|
|
rowContextMenu: null |
|
|
|
rowContextMenu: null |
|
|
|
}), |
|
|
|
}), |
|
|
|
watch: { |
|
|
|
watch: { |
|
|
|
|
|
|
|
isActive(n, o) { |
|
|
|
|
|
|
|
if (!o && n) { |
|
|
|
|
|
|
|
this.reload() |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
page(p) { |
|
|
|
page(p) { |
|
|
|
this.$store.commit('tabs/MutSetTabState', { |
|
|
|
this.$store.commit('tabs/MutSetTabState', { |
|
|
|
id: this.uniqueId, |
|
|
|
id: this.uniqueId, |
|
|
@ -1165,7 +1171,9 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
computed: { |
|
|
|
tabsState() { return this.$store.state.tabs.tabsState || {} }, |
|
|
|
tabsState() { |
|
|
|
|
|
|
|
return this.$store.state.tabs.tabsState || {} |
|
|
|
|
|
|
|
}, |
|
|
|
uniqueId() { |
|
|
|
uniqueId() { |
|
|
|
return `${this.tabId}_${this.selectedViewId}` |
|
|
|
return `${this.tabId}_${this.selectedViewId}` |
|
|
|
}, |
|
|
|
}, |
|
|
|