|
@@ -375,6 +375,11 @@ export default {
|
|
|
|
|
|
//改变选中节点
|
|
//改变选中节点
|
|
nodeChangeHandle(data, node) {
|
|
nodeChangeHandle(data, node) {
|
|
|
|
+ //目录不显示数据
|
|
|
|
+ if(data.Level===1&&data.Children){
|
|
|
|
+ this.rightShow = false
|
|
|
|
+ return
|
|
|
|
+ }
|
|
if (data.ClassifyId === this.select_classify) return;
|
|
if (data.ClassifyId === this.select_classify) return;
|
|
this.select_classify = data.ClassifyId;
|
|
this.select_classify = data.ClassifyId;
|
|
this.leftSearchVal=''
|
|
this.leftSearchVal=''
|