提交 9f2be835 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 0cded382
......@@ -20,8 +20,13 @@ export default {
radio: 0
}
},
mounted() {
watch: {
option: {
immediate: true,
handler() {
this.radio = this.option.findIndex(item => item.checked)
}
}
},
methods: {
radioChange() {
......
......@@ -27,8 +27,13 @@ export default {
ruleForm: ''
}
},
mounted() {
watch: {
option: {
immediate: true,
handler() {
this.radioValue = this.option.findIndex(item => item.checked)
}
}
},
methods: {
// 添加选项
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论