Skip to content

Commit 5db9ee9

Browse files
committed
fix: avoid directives on non-element roots
1 parent e99a662 commit 5db9ee9

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

  • frontend/src

frontend/src/components/system-upgrade/upgrade/index.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
{{ upgradeInfo.testVersion }}
1616
</el-radio>
1717
</el-radio-group>
18-
<MarkDownEditor v-loading="loading" :content="upgradeInfo.releaseNote" />
18+
<div v-loading="loading">
19+
<MarkDownEditor :content="upgradeInfo.releaseNote" />
20+
</div>
1921
</div>
2022
<template #footer>
2123
<span class="dialog-footer">

frontend/src/layout/components/Sidebar/components/user-info/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<DrawerPro v-model="open" :header="$t('xpack.user.userInfo')" v-loading="loading">
2+
<DrawerPro v-model="open" :header="$t('xpack.user.userInfo')">
33
<div v-loading="loading">
44
<el-form ref="userRef" label-position="top" :model="form" :rules="userRules">
55
<input

frontend/src/views/database/redis/setting/index.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@
6262
</el-col>
6363
</el-row>
6464
</div>
65-
<Status v-show="activeName === 'status'" ref="statusRef" />
65+
<div v-show="activeName === 'status'">
66+
<Status ref="statusRef" />
67+
</div>
6668
<div v-if="activeName === 'tuning'">
6769
<el-form :model="form" ref="formRef" :rules="rules" label-position="top">
6870
<el-row class="mt-10">
@@ -110,7 +112,9 @@
110112
</el-row>
111113
</el-form>
112114
</div>
113-
<Persistence @loading="changeLoading" v-show="activeName === 'persistence'" ref="persistenceRef" />
115+
<div v-show="activeName === 'persistence'">
116+
<Persistence @loading="changeLoading" ref="persistenceRef" />
117+
</div>
114118
</template>
115119
</LayoutContent>
116120

0 commit comments

Comments
 (0)