|
@@ -115,6 +115,10 @@ export const bdColumns: ColumnItem[] = [
|
|
label: "边框尺寸",
|
|
label: "边框尺寸",
|
|
dataIndex: "layout.border.width",
|
|
dataIndex: "layout.border.width",
|
|
component: Slider,
|
|
component: Slider,
|
|
|
|
+ getValue(v) {
|
|
|
|
+ if (v== undefined ) return 0;
|
|
|
|
+ return v;
|
|
|
|
+ },
|
|
props: {
|
|
props: {
|
|
defaultValue: 0,
|
|
defaultValue: 0,
|
|
step: 1,
|
|
step: 1,
|
|
@@ -126,6 +130,10 @@ export const bdColumns: ColumnItem[] = [
|
|
label: "边框弧度",
|
|
label: "边框弧度",
|
|
dataIndex: "layout.border.radius",
|
|
dataIndex: "layout.border.radius",
|
|
component: Slider,
|
|
component: Slider,
|
|
|
|
+ getValue(v) {
|
|
|
|
+ if (v== undefined ) return 0;
|
|
|
|
+ return v;
|
|
|
|
+ },
|
|
// isVisible: (value, data) =>
|
|
// isVisible: (value, data) =>
|
|
// ["Web3D", "Container", "Video"].includes(data.compKey) ? false : true,
|
|
// ["Web3D", "Container", "Video"].includes(data.compKey) ? false : true,
|
|
props: {
|
|
props: {
|
|
@@ -147,6 +155,10 @@ export const bgColumns: ColumnItem[] = [
|
|
label: "透明度",
|
|
label: "透明度",
|
|
dataIndex: "layout.opacity",
|
|
dataIndex: "layout.opacity",
|
|
component: Slider,
|
|
component: Slider,
|
|
|
|
+ getValue(v) {
|
|
|
|
+ if (v== undefined ) return 1;
|
|
|
|
+ return v;
|
|
|
|
+ },
|
|
isVisible: (value, data) =>
|
|
isVisible: (value, data) =>
|
|
["Web3D", "Video"].includes(data.compKey) ? false : true,
|
|
["Web3D", "Video"].includes(data.compKey) ? false : true,
|
|
props: {
|
|
props: {
|