mirror of https://github.com/veops/cmdb.git
fix:json 不支持预定义值
This commit is contained in:
parent
39a5dc57f2
commit
c3e0497173
|
@ -447,7 +447,9 @@ export default {
|
||||||
|
|
||||||
this.form.resetFields()
|
this.form.resetFields()
|
||||||
this.currentValueType = '2'
|
this.currentValueType = '2'
|
||||||
|
if (values.value_type !== '6') {
|
||||||
this.$refs.preValueArea.valueList = []
|
this.$refs.preValueArea.valueList = []
|
||||||
|
}
|
||||||
this.$emit('done', attr_id, data, isCloseModal)
|
this.$emit('done', attr_id, data, isCloseModal)
|
||||||
} else {
|
} else {
|
||||||
throw new Error()
|
throw new Error()
|
||||||
|
|
Loading…
Reference in New Issue