diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js index a66fb2cf..4d54071d 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js @@ -689,8 +689,8 @@ export default { formData.append(q, importModel.value[q]); } }); - if (config.query.schema.properties.businessType.default) { - formData.append("businessType", config.query.schema.properties.businessType?.default); + if (config.query.schema.properties.businessType?.default) { + formData.append("businessType", config.query.schema.properties.businessType.default); } for (let i = 0; i < fileList.value.length; i++) { formData.append(`files`, fileList.value[i].raw);