cloud-web-corejs 1.0.169 → 1.0.171
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
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
v-for="(item, index) in otherTabList"
|
|
37
37
|
:key="index"
|
|
38
38
|
:label="$t2(item.label)"
|
|
39
|
-
:name="
|
|
39
|
+
:name="`otherTab${index}`"
|
|
40
40
|
>
|
|
41
41
|
<div class="grid-height">
|
|
42
42
|
<vFormRender
|
|
@@ -212,14 +212,18 @@ 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
|
-
|
|
216
|
-
|
|
217
|
-
|
|
215
|
+
let otherTabIndex = this.otherTabList.findIndex(
|
|
216
|
+
(item) => item.formCode == formCode
|
|
217
|
+
);
|
|
218
|
+
this.activeName = `otherTab${otherTabIndex}`;
|
|
219
|
+
|
|
218
220
|
otherTab.dataId = dataId;
|
|
219
221
|
otherTab.param = param;
|
|
220
|
-
otherTab.showContent = false;
|
|
221
222
|
this.$nextTick(() => {
|
|
222
|
-
otherTab.showContent =
|
|
223
|
+
otherTab.showContent = false;
|
|
224
|
+
this.$nextTick(() => {
|
|
225
|
+
otherTab.showContent = true;
|
|
226
|
+
});
|
|
223
227
|
});
|
|
224
228
|
},
|
|
225
229
|
openEditDialog(row, param, option) {
|