提交 17519ef7 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 7792ad56
...@@ -24,11 +24,11 @@ export default { ...@@ -24,11 +24,11 @@ export default {
}, },
data() { data() {
return { return {
checkboxValue: [0] checkboxValue: []
} }
}, },
mounted() { mounted() {
this.checkboxValue = [0] this.checkboxValue = []
this.option.forEach((item, index) => { this.option.forEach((item, index) => {
if (item.checked) this.checkboxValue.push(index) if (item.checked) this.checkboxValue.push(index)
}) })
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论