fix: When asker is empty, do not pass the current parameter (#2667)
This commit is contained in:
parent
0a148bff4b
commit
ad452afa52
@ -323,8 +323,11 @@ const checkInputParam = () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!api_form_data_context.value['asker']) {
|
if (!api_form_data_context.value['asker']) {
|
||||||
|
const asker = getRouteQueryValue('asker')
|
||||||
|
if (asker) {
|
||||||
api_form_data_context.value['asker'] = getRouteQueryValue('asker')
|
api_form_data_context.value['asker'] = getRouteQueryValue('asker')
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (msg.length > 0) {
|
if (msg.length > 0) {
|
||||||
MsgWarning(
|
MsgWarning(
|
||||||
|
|||||||
@ -19,6 +19,7 @@
|
|||||||
:label="$t('views.application.applicationForm.form.reasoningContent.start')"
|
:label="$t('views.application.applicationForm.form.reasoningContent.start')"
|
||||||
>
|
>
|
||||||
<el-input
|
<el-input
|
||||||
|
type="textarea"
|
||||||
v-model="form.reasoning_content_start"
|
v-model="form.reasoning_content_start"
|
||||||
:rows="6"
|
:rows="6"
|
||||||
maxlength="50"
|
maxlength="50"
|
||||||
@ -29,6 +30,7 @@
|
|||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item :label="$t('views.application.applicationForm.form.reasoningContent.end')">
|
<el-form-item :label="$t('views.application.applicationForm.form.reasoningContent.end')">
|
||||||
<el-input
|
<el-input
|
||||||
|
type="textarea"
|
||||||
v-model="form.reasoning_content_end"
|
v-model="form.reasoning_content_end"
|
||||||
:rows="6"
|
:rows="6"
|
||||||
maxlength="50"
|
maxlength="50"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user