vue2-client 1.20.68 → 1.20.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.20.68",
3
+ "version": "1.20.69",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -54,6 +54,7 @@ import { mapState } from 'vuex'
54
54
  import { getConfigByName, runLogic } from '@vue2-client/services/api/common'
55
55
  import XReportDesign from './XReportDesign.vue'
56
56
  import { executeStrFunctionByContext } from '@vue2-client/utils/runEvalFunction'
57
+ import { shortcutManager } from '@vue2-client/base-client/utils/shortcutManager'
57
58
 
58
59
  // import XAddReport from '@vue2-client/base-client/components/common/XAddReport'
59
60
 
@@ -131,6 +131,9 @@ export default {
131
131
  getConfigByName,
132
132
  getConfigByNameAsync,
133
133
  async tabPaneChange (newKey, initStatus = false) {
134
+ if (this.activeKey >= 0 && this.activeKey !== newKey) {
135
+ this.markTabAsLoaded(this.activeKey)
136
+ }
134
137
  if (initStatus) {
135
138
  const routePath = this.$route?.path || 'default'
136
139
  const snapshot = shortcutManager.routeStateSnapshots.get(routePath)