element-ui cascader 重置按钮触发清空操作

reset(){
            let obj = {}
            obj.stopPropagation = () => {}
            try{
                this.$refs.enum_right.clearValue(obj)
            }catch(err){
                this.$refs.enum_right.handleClear(obj)
            }

  

posted @ 2020-09-03 09:46  不服憋着  阅读(1871)  评论(0编辑  收藏  举报