|
@@ -7,12 +7,16 @@ import { Size } from "../formItems/Size";
|
|
import Slider from "../formItems/Slider";
|
|
import Slider from "../formItems/Slider";
|
|
import { createColorOpts } from "./formOpts/createColorOpts";
|
|
import { createColorOpts } from "./formOpts/createColorOpts";
|
|
import { Divider } from "ant-design-vue";
|
|
import { Divider } from "ant-design-vue";
|
|
|
|
+import { GroupNumber } from "../formItems/GroupNumber";
|
|
|
|
|
|
export const layoutColumns: ColumnItem[] = [
|
|
export const layoutColumns: ColumnItem[] = [
|
|
{
|
|
{
|
|
- // label: "尺寸",
|
|
|
|
|
|
+ label: "尺寸",
|
|
dataIndex: "layout.size",
|
|
dataIndex: "layout.size",
|
|
- component: Size,
|
|
|
|
|
|
+ component: GroupNumber,
|
|
|
|
+ props: {
|
|
|
|
+ labels: ["宽度", "高度"],
|
|
|
|
+ },
|
|
},
|
|
},
|
|
// {
|
|
// {
|
|
// label: "对齐",
|
|
// label: "对齐",
|