Skip to content

Commit b58ed36

Browse files
committed
fix: update file limit binding in LocalFileUpload component
--bug=1064093 --user=刘瑞斌 【工作流知识库】本地文件数据源节点,设置每次最多上传文件数限制无效 https://www.tapd.cn/62980211/s/1806155
1 parent 2d68fda commit b58ed36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/src/components/dynamics-form/items/upload/LocalFileUpload.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
:auto-upload="false"
1111
:show-file-list="false"
1212
:accept="accept"
13-
:limit="attrs.limit"
13+
:limit="file_count_limit"
1414
:on-exceed="onExceed"
1515
:on-change="fileHandleChange"
1616
@click.prevent="handlePreview(false)"
@@ -75,7 +75,7 @@ const props = withDefaults(defineProps<{ modelValue?: any; formField: FormField
7575
const onExceed = () => {
7676
MsgError(
7777
t('views.document.tip.fileLimitCountTip1') +
78-
attrs.limit +
78+
file_count_limit.value +
7979
t('views.document.tip.fileLimitCountTip2'),
8080
)
8181
}

0 commit comments

Comments
 (0)