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

bug fixes

上级 9463e85d
...@@ -200,6 +200,9 @@ export default { ...@@ -200,6 +200,9 @@ export default {
// 删除随同 // 删除随同
handleRemoveChild(index) { handleRemoveChild(index) {
this.ruleForm.children.splice(index, 1) this.ruleForm.children.splice(index, 1)
if (!this.ruleForm.children.length) {
this.ruleForm.has_children = 0
}
}, },
// 提交 // 提交
handleSubmit() { handleSubmit() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论