@@ -6,8 +6,8 @@
:visible.sync="show"
direction="rtl"
>
- <div class="pa-3">
- <SolutionDetails v-if="loading" :item-data="itemData"></SolutionDetails>
+ <div class="pa-3" v-loading="loading">
+ <SolutionDetails :item-data="itemData"></SolutionDetails>
</div>
</el-drawer>
@@ -58,6 +58,8 @@ export default {
}
} catch (error) {
this.$message.error(error)
+ } finally {
+ this.loading = false