fix: When asker is empty, do not pass the current parameter (#2667)

This commit is contained in:
shaohuzhang1 2025-03-24 17:41:18 +08:00 committed by GitHub
parent 0a148bff4b
commit ad452afa52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -323,7 +323,10 @@ const checkInputParam = () => {
}
}
if (!api_form_data_context.value['asker']) {
api_form_data_context.value['asker'] = getRouteQueryValue('asker')
const asker = getRouteQueryValue('asker')
if (asker) {
api_form_data_context.value['asker'] = getRouteQueryValue('asker')
}
}
if (msg.length > 0) {

View File

@ -19,6 +19,7 @@
:label="$t('views.application.applicationForm.form.reasoningContent.start')"
>
<el-input
type="textarea"
v-model="form.reasoning_content_start"
:rows="6"
maxlength="50"
@ -29,6 +30,7 @@
<el-col :span="12">
<el-form-item :label="$t('views.application.applicationForm.form.reasoningContent.end')">
<el-input
type="textarea"
v-model="form.reasoning_content_end"
:rows="6"
maxlength="50"