From 8e47005cbccfc9eac308e60e430a69091c26fb21 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期五, 22 八月 2025 17:47:19 +0800 Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/flexJobAdminBClient --- 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