DESKTOP-USV654P\pc před 3 měsíci
rodič
revize
609b38f0e2

+ 17 - 1
apps/web-baicai/src/views/system/menu/components/grant.vue

@@ -141,4 +141,20 @@ const loadTreeData = async () => {
     </Form>
   </Drawer>
 </template>
-<style lang="less" scoped></style>
+<style lang="less" scoped>
+:deep(.ant-tree-title) {
+  .tree-actions {
+    display: none;
+    margin-left: 20px;
+  }
+}
+
+:deep(.ant-tree-title:hover) {
+  .tree-actions {
+    display: flex;
+    flex: auto;
+    justify-content: flex-end;
+    margin-left: 20px;
+  }
+}
+</style>