Browse Source

no message

xiaochan 2 years ago
parent
commit
6a53184d09
1 changed files with 5 additions and 3 deletions
  1. 5 3
      src/views/utilities/page-editor-help/components/PageTree.vue

+ 5 - 3
src/views/utilities/page-editor-help/components/PageTree.vue

@@ -168,14 +168,16 @@ onMounted(() => {
            @node-drag-end="handleDragEnd"
            default-expand-all>
     <template #default="{node,data}">
+      <el-button type="danger"
+                 text
+                 @click.stop="delReportQueryCenterClick(data)">
+        删除
+      </el-button>
       <el-icon>
         <Document v-if="data.type === 0"/>
         <Folder v-else/>
       </el-icon>
       {{ data.name }}
-      <el-button type="danger" text @click.stop="delReportQueryCenterClick(data)">
-        删除
-      </el-button>
     </template>
   </el-tree>
 </template>