qinyan 1 yıl önce
ebeveyn
işleme
ab061a03a6

+ 2 - 0
src/modules/editor/components/CompUI/formItems/NewColorPicker/Picker.tsx

@@ -221,6 +221,8 @@ export default defineComponent({
 });
 
 const styles = css`
+  width: 270px;
+  margin: 0 auto;
   .IroBox {
     border-radius: 6px !important;
   }

+ 1 - 0
src/pages/editor/EditPage/index.tsx

@@ -11,6 +11,7 @@ export default defineComponent(() => {
   const resource = useResource();
   const auth = useAuth();
 
+  resource.controls.categoryCtrl.getSystemCate();
   resource.controls.categoryCtrl.getUserCate().then(() => {
     const categories = resource.controls.categoryCtrl.state.categories;
     const list: any = categories.find((d: any) => d.type == "h5");