Эх сурвалжийг харах

即使在我的PPT目录,没选择节点也不能移动

cxmo 7 сар өмнө
parent
commit
f35aa4061d

+ 2 - 2
src/views/ppt_manage/newVersion/pptCatalog.vue

@@ -208,7 +208,7 @@
             @start="dragStartHandler"
             @update="dragenter"
             @end="moveListPPT"
-            :disabled="treeName!=='private'"
+            :disabled="(treeName==='private'&&!selectNode)||treeName!=='private'"
             >
             <div class="list-item" 
               v-for="item in catalogPPTList" :key="item.PptId"
@@ -217,7 +217,7 @@
               <div class="item-title">
                 <span>{{item.Title}}</span>
                 <img
-                  v-if="treeName==='private'"
+                  v-if="treeName==='private'&&selectNode"
                   src="~@/assets/img/data_m/move_ico.png"
                   style="width: 14px; height: 14px; margin-right: 8px"
                 />