mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-16 16:42:50 +00:00
优化
This commit is contained in:
parent
f66d2e8764
commit
46c86235c4
@ -57,7 +57,7 @@
|
|||||||
<slot>
|
<slot>
|
||||||
<div class="cl-upload__item">
|
<div class="cl-upload__item">
|
||||||
<el-icon :size="24"><picture-filled /></el-icon>
|
<el-icon :size="24"><picture-filled /></el-icon>
|
||||||
<span class="cl-upload__text">{{ text }}</span>
|
<span class="cl-upload__text" v-if="text">{{ text }}</span>
|
||||||
</div>
|
</div>
|
||||||
</slot>
|
</slot>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
@ -238,7 +238,7 @@ const limit = props.limit || options.limit.upload;
|
|||||||
const limitSize = props.limitSize || options.limit.size;
|
const limitSize = props.limitSize || options.limit.size;
|
||||||
|
|
||||||
// 文案
|
// 文案
|
||||||
const text = props.text || options.text;
|
const text = props.text === undefined ? options.text : props.text;
|
||||||
|
|
||||||
// 请求头
|
// 请求头
|
||||||
const headers = computed(() => {
|
const headers = computed(() => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user