瀏覽代碼

fix:myeta切换分类问题

Karsa 10 月之前
父節點
當前提交
732b77f5dd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/mychart_manage/index.vue

+ 1 - 1
src/views/mychart_manage/index.vue

@@ -623,7 +623,7 @@ export default {
     /* 切换分类 */
     chooseClassify({MyChartClassifyId,fromPublic,AdminId}) {
       if(fromPublic!==1){
-        this.$refs.catalogTree.setCurrentKey(null)
+        this.$refs.catalogTree&&this.$refs.catalogTree.setCurrentKey(null)
       }
       this.select_classify = MyChartClassifyId;
       this.ispublic = fromPublic;