parent
da1352f608
commit
1ac52ed70d
|
@ -311,7 +311,7 @@ export default {
|
||||||
}
|
}
|
||||||
this.$refs.form.validate(valid => {
|
this.$refs.form.validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
if (this.$parent.FIRE_DEVICE_ID === '') {
|
if (this.$parent.fireDeviceId === '') {
|
||||||
this.handleAdd()
|
this.handleAdd()
|
||||||
} else {
|
} else {
|
||||||
this.handleUpdate()
|
this.handleUpdate()
|
||||||
|
|
Loading…
Reference in New Issue