[update] 标准选择改成回显用value
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
</a-col>
|
||||
<a-col :span="12" v-if="['1', '2', '3'].includes(form.getFieldValue('level'))">
|
||||
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="$t('standardNumber')">
|
||||
<standard-model-selection
|
||||
<standard-selection
|
||||
v-decorator.trim="[ 'standardNumber', validatorRules.standardNumber]"
|
||||
:placeholder="$t('pleaseEnterOrSelect') + $t('standardNumber')"
|
||||
:source="form.getFieldValue('level')"
|
||||
@@ -90,12 +90,12 @@
|
||||
import { postAction } from '@/api/manage'
|
||||
import { getCarTypeProjectList } from '@/api/api'
|
||||
// 双向绑定的标准选择器
|
||||
import StandardModelSelection from '@/components/selection/StandardModelSelection'
|
||||
import StandardSelection from '@/components/selection/StandardSelection'
|
||||
import pick from 'lodash.pick'
|
||||
|
||||
export default {
|
||||
name: 'QuizModal',
|
||||
components: { StandardModelSelection },
|
||||
components: { StandardSelection },
|
||||
data () {
|
||||
return {
|
||||
title: '',
|
||||
|
||||
Reference in New Issue
Block a user