mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-12 13:42:50 +00:00
优化
This commit is contained in:
parent
f73742a432
commit
304bc25339
@ -222,7 +222,7 @@ const limitSize = props.limitSize || options.limit.size;
|
|||||||
|
|
||||||
// 文案
|
// 文案
|
||||||
const text = computed(() => {
|
const text = computed(() => {
|
||||||
if (props.text) {
|
if (props.text !== undefined) {
|
||||||
return props.text;
|
return props.text;
|
||||||
} else {
|
} else {
|
||||||
switch (props.type) {
|
switch (props.type) {
|
||||||
@ -498,7 +498,10 @@ defineExpose({
|
|||||||
|
|
||||||
.el-icon {
|
.el-icon {
|
||||||
font-size: 46px;
|
font-size: 46px;
|
||||||
margin-bottom: 5px;
|
}
|
||||||
|
|
||||||
|
.text {
|
||||||
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.is-dragger {
|
&.is-dragger {
|
||||||
|
|||||||
@ -3,8 +3,8 @@ export default () => {
|
|||||||
label: "文件上传",
|
label: "文件上传",
|
||||||
description: "基于 el-upload 封装的文件上传组件",
|
description: "基于 el-upload 封装的文件上传组件",
|
||||||
author: "COOL",
|
author: "COOL",
|
||||||
version: "1.1.2",
|
version: "1.1.3",
|
||||||
updateTime: "2024-02-21",
|
updateTime: "2024-02-23",
|
||||||
demo: [
|
demo: [
|
||||||
{
|
{
|
||||||
name: "基础用法",
|
name: "基础用法",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user