bianjiang hai 1 ano
pai
achega
e8eb695411
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 0 1
      src/modules/editor/module/helpers/index.ts
  2. 2 1
      src/styles/theme-antd.js

+ 0 - 1
src/modules/editor/module/helpers/index.ts

@@ -61,7 +61,6 @@ export const helpers = EditorModule.helper({
   },
   isCustomChildComp(comp: DesignComp): boolean {
     const parentComp = this.helper.findParentComp(comp.id);
-
     if (!parentComp) return false;
     const i =
       parentComp.children.default?.findIndex((d) => d === comp.id) ?? -1;

+ 2 - 1
src/styles/theme-antd.js

@@ -6,7 +6,8 @@ module.exports = Object.assign(
   }),
   {
     "primary-color": "#E88B00",
-    "component-background": "#ffffff",
+    // "component-background": "#ffffff",
+    "select-clear-background":"transparent",
     "tree-title-height": "32px",
     "modal-content-bg": "#262626",
   }