liwei 1 year ago
parent
commit
a3e81bbd0d

+ 1 - 1
src/modules/editor/components/CompUI/defines/createAttrsForm.tsx

@@ -313,7 +313,7 @@ export function createAttrsForm(valueColumns: ColumnItem[], columnsUI?: any) {
                 />
               </>
             )}
-            {["Text", "Image", "Map"].includes(component.compKey) ? (
+            {["Text", "Image", "Map", "Rectage"].includes(component.compKey) ? (
               <>
                 <Divider></Divider>
                 <div>

+ 1 - 1
src/modules/editor/components/Viewport/index.tsx

@@ -24,7 +24,7 @@ export default defineUI({
             <slots.Toolbar />
             <slots.Content />
           </div>
-          <slots.SliderRight class="w-360px bg-component border-left !border-2px" />
+          <slots.SliderRight class="w-300px bg-component border-left !border-2px" />
         </div>
       </div>
     );