|
@@ -107,7 +107,9 @@ export default {
|
|
|
},
|
|
|
cancel () {
|
|
|
this.dealerList = [{ dealerName: '其他经销商', dealerSn: 'a1' }]
|
|
|
- this.$refs.dealerSubareaScopeList[0].resetForm()
|
|
|
+ if (this.$refs && Object.keys(this.$refs).length) {
|
|
|
+ this.$refs.dealerSubareaScopeList[0].resetForm()
|
|
|
+ }
|
|
|
this.chooseVal = null
|
|
|
this.isShow = false
|
|
|
}
|