From ad1954e847b760415d84011a27d82259d46fb362 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期五, 22 八月 2025 15:23:37 +0800 Subject: [PATCH] fix: bug --- src/views/AgreementManage/components/TemplateAddDialog.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/AgreementManage/components/TemplateAddDialog.vue b/src/views/AgreementManage/components/TemplateAddDialog.vue index ea7851c..07cf6b2 100644 --- a/src/views/AgreementManage/components/TemplateAddDialog.vue +++ b/src/views/AgreementManage/components/TemplateAddDialog.vue @@ -2,7 +2,7 @@ <ProDialog title="鏂板妯℃澘" v-model="visible" @close="onDialogClose" destroy-on-close draggable> <ProForm :model="form" ref="dialogForm" label-width="100px"> <ProFormItemV2 label="妯℃澘鍚嶇О:" prop="name" :check-rules="[{ message: '璇疯緭鍏ユā鏉垮悕绉�' }]"> - <ProFormText v-model.trim="form.name"> </ProFormText> + <ProFormText v-model.trim="form.name" placeholder="璇疯緭鍏ユā鏉垮悕绉�" :maxlength="32" > </ProFormText> </ProFormItemV2> <ProFormItemV2 label="涓婁紶妯℃澘:" @@ -13,7 +13,7 @@ v-model:file-url="form.url" :limit="1" :limitFileSize="10" - accept="xlsx,xls" + accept="pdf" ></ProFormUpload> </ProFormItemV2> </ProForm> @@ -36,6 +36,7 @@ UploadUserFile, } from '@bole-core/components'; import { FormInstance } from 'element-plus'; +import { max } from 'lodash'; defineOptions({ name: 'TemplateAddDialog', -- Gitblit v1.9.1