Compare commits

...

2 Commits

Author SHA1 Message Date
tangjie 3e682fd0aa fix 2026-07-15 11:28:34 +08:00
tangjie cf4e41ee84 1.0.1 2026-07-14 14:41:54 +08:00
2 changed files with 4 additions and 7 deletions

View File

@ -51,12 +51,10 @@ export default function AttachmentUpload({ name, label, disabled = false, maxCou
<Upload <Upload
//disabled={disabled} //disabled={disabled}
listType="picture-card" listType="picture-card"
headers={{
token: sessionStorage.getItem('token')
}}
maxCount={maxCount} maxCount={maxCount}
accept={accept} accept={accept}
action={`${window.process.env.app.API_HOST}/safetyEval/file/upload`} action={`${window.process.env.app.API_HOST}/safetyEval/images/upload`}
beforeUpload={(file) => { beforeUpload={(file) => {
if (!accept) return true; if (!accept) return true;
const rules = accept.split(",").map((e) => e.trim().toLowerCase()); const rules = accept.split(",").map((e) => e.trim().toLowerCase());

View File

@ -223,14 +223,13 @@ const RegisterMore = (props) => {
> >
<Select <Select
options={QUALIFICATION_INDUSTRY_OPTIONS} options={QUALIFICATION_INDUSTRY_OPTIONS}
//mode="multiple" mode="multiple"
placeholder="请选择安全生产监管行业类别" placeholder="请选择安全生产监管行业类别"
allowClear allowClear
onChange={(value, option) => { onChange={(value, option) => {
form.setFieldValue( form.setFieldValue(
"safetyIndustryCategoryName", "safetyIndustryCategoryName",
option?.label || "", option?.map((item) => item.label).join(",") || "",
//option?.map((item) => item.label).join(",") || "",
); );
}} }}
/> />