优化
This commit is contained in:
parent
93abb615d0
commit
a4befbb5ee
@ -262,11 +262,6 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
handleAddIndicators (item) {
|
||||
console.log(item)
|
||||
this.showIndicators = true
|
||||
this.formIndicators = Object.assign({}, item)
|
||||
},
|
||||
// 编辑
|
||||
hanidleEdit (item, index, type) {
|
||||
if (item.maxCount !== null) {
|
||||
@ -278,7 +273,9 @@ export default {
|
||||
}
|
||||
}
|
||||
if (index === -1) {
|
||||
this.formIndicators = {}
|
||||
this.formIndicators = {
|
||||
checkWeight: 0
|
||||
}
|
||||
} else {
|
||||
this.formIndicators = Object.assign({}, item)
|
||||
this.formIndicators.checkWeight = this.formIndicators.checkWeight * 100
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user