Commit a09195cf by 李伟康

修改车牌组件

1 parent 3ce0247c
...@@ -165,9 +165,11 @@ export default { ...@@ -165,9 +165,11 @@ export default {
del () { del () {
let { let {
plateIndex plateIndex,
plateNo
} = this } = this
const index = plateIndex const index = plateIndex
if(!plateNo[index]) return
if (plateIndex > 0) --plateIndex if (plateIndex > 0) --plateIndex
this.plateNo[index] = '' this.plateNo[index] = ''
this.plateIndex = plateIndex this.plateIndex = plateIndex
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!