Natural
Results
1
comments of
Natural
> Try this: `` this.$refs.cascader.$refs.panel.checkedValue = [];//也可以是指定的值 this.$refs.cascader.$refs.panel.activePath = []; this.$refs.cascader.$refs.panel.syncActivePath(); 这个有用,不过要找到对应的ref下的panel的syncActivePath方法(因为有些panel下面的syncActivePath是个数组) 我的结构是这样的 `` this.$refs.nationRelationCascader[0].$refs.panel.clearCheckedNodes() this.$refs.nationRelationCascader[0].$refs.panel.activePath = [] this.$refs.nationRelationCascader[0].$refs.panel.syncActivePath()