cloud-web-corejs 1.0.255 → 1.0.256

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,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.255",
4
+ "version": "1.0.256",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -14,8 +14,8 @@
14
14
  }"
15
15
  >
16
16
  <el-tab-pane
17
- v-for="(tab, index) in visibleTabs"
18
- :key="index"
17
+ v-for="tab in visibleTabs"
18
+ :key="tab.options.name"
19
19
  :label="getI18nLabel(tab.options.label)"
20
20
  :disabled="tab.options.disabled"
21
21
  :name="tab.options.name"
@@ -25,7 +25,7 @@
25
25
  <component
26
26
  :is="subWidget.type + '-item'"
27
27
  :widget="subWidget"
28
- :key="swIdx"
28
+ :key="subWidget.id || swIdx"
29
29
  :parent-list="tab.widgetList"
30
30
  :index-of-parent-list="swIdx"
31
31
  :parent-widget="widget"
@@ -42,7 +42,7 @@
42
42
  <component
43
43
  :is="subWidget.type + '-widget'"
44
44
  :field="subWidget"
45
- :key="swIdx"
45
+ :key="subWidget.id || swIdx"
46
46
  :parent-list="tab.widgetList"
47
47
  :index-of-parent-list="swIdx"
48
48
  :parent-widget="widget"