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