cloud-web-corejs 1.0.169 → 1.0.170

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.169",
4
+ "version": "1.0.170",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -36,7 +36,7 @@
36
36
  v-for="(item, index) in otherTabList"
37
37
  :key="index"
38
38
  :label="$t2(item.label)"
39
- :name="item.formCode"
39
+ :name="`otherTab${index}`"
40
40
  >
41
41
  <div class="grid-height">
42
42
  <vFormRender
@@ -212,7 +212,10 @@ export default {
212
212
  let dataId = row && row.id ? row.id : null;
213
213
  let formCode = option.formCode;
214
214
  let otherTab = this.otherTabList.find((item) => item.formCode == formCode);
215
- this.activeName = formCode;
215
+ let otherTabIndex = this.otherTabList.findIndex(
216
+ (item) => item.formCode == formCode
217
+ );
218
+ this.activeName = `otherTab${otherTabIndex}`;
216
219
  this.showEdit = false;
217
220
  this.showEditDialog = true;
218
221
  otherTab.dataId = dataId;