|
@@ -6,7 +6,7 @@
|
|
|
v-if="options.length"
|
|
|
/>
|
|
|
|
|
|
- <div class="body-layer media" >
|
|
|
+ <div class="body-layer media">
|
|
|
<div class="body-head media-head">
|
|
|
<el-button type="primary" class="btn" @click="handleUploadClick">
|
|
|
上传
|
|
@@ -20,6 +20,7 @@
|
|
|
@tab-click="handleSubtabClick"
|
|
|
>
|
|
|
<el-tab-pane
|
|
|
+ v-if="isReady"
|
|
|
v-for="sub in subOptions"
|
|
|
:label="sub.name"
|
|
|
:name="sub.value"
|
|
@@ -130,7 +131,9 @@ const initDefaultData = async () => {
|
|
|
});
|
|
|
subTabName.value = secondList[0].value;
|
|
|
subOptions.value = secondList;
|
|
|
- isReady.value = true;
|
|
|
+ setTimeout(() => {
|
|
|
+ isReady.value = true;
|
|
|
+ }, 300);
|
|
|
};
|
|
|
watchEffect(() => caseId.value && subTabName.value && refresh());
|
|
|
|