Merge pull request #1946 from neo-6/neo-6-patch-1

解决Invalid vnode type when creating vnode的警告问题
This commit is contained in:
PiexlMax(奇淼 2024-12-04 20:29:35 +08:00 committed by GitHub
commit 80c54ad890
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@
>
<template #prefix>
<el-icon>
<component :is="value" />
<component v-if="value" :is="value" />
</el-icon>
</template>
<el-option
@ -21,7 +21,7 @@
>
<span class="gva-icon" style="padding: 3px 0 0" :class="item.label">
<el-icon>
<component :is="item.label" />
<component v-if="item.label" :is="item.label" />
</el-icon>
</span>
<span style="text-align: left">{{ item.key }}</span>

View File

@ -684,7 +684,7 @@
<el-upload
class="flex items-center"
:before-upload="importJson"
show-file-list="false"
:show-file-list="false"
accept=".json"
>
<el-button type="primary" class="mx-2" :disabled="isAdd"

View File

@ -310,8 +310,8 @@
<el-form-item label="字符长度">
<el-input-number
v-model="config.captcha['key-long']"
min="4"
max="6"
:min="4"
:max="6"
/>
</el-form-item>
<el-form-item label="图片宽度">