소스 검색

商品管理清除tree

Qukatie 1 개월 전
부모
커밋
7dae4ad6bf
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/views/goodsManage/index.vue

+ 1 - 0
src/views/goodsManage/index.vue

@@ -306,6 +306,7 @@ export default {
       });
     },
     searchReset() {
+      this.$refs.tree.setCurrentKey(null);
       this.query = this.$options.data().query;
       this.onLoad(this.page);
     },