@easyv/config
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -14,2 +14,3 @@ "use strict"; | ||
}, | ||
gap: 20, | ||
drag: { | ||
@@ -32,2 +33,4 @@ width: 30, | ||
right = _ref$margin$right === void 0 ? defaultControl.margin.right : _ref$margin$right, | ||
_ref$gap = _ref.gap, | ||
gap = _ref$gap === void 0 ? defaultControl.gap : _ref$gap, | ||
_ref$drag = _ref.drag; | ||
@@ -74,2 +77,11 @@ _ref$drag = _ref$drag === void 0 ? defaultControl.drag : _ref$drag; | ||
}, { | ||
name: "gap", | ||
displayName: "上间距", | ||
type: "number", | ||
value: gap, | ||
config: { | ||
suffix: "px" | ||
}, | ||
tip: "与X轴的距离" | ||
}, { | ||
name: "drag", | ||
@@ -76,0 +88,0 @@ displayName: "详情区域", |
{ | ||
"name": "@easyv/config", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -8,2 +8,3 @@ const defaultControl={ | ||
}, | ||
gap:20, | ||
drag:{ | ||
@@ -22,2 +23,3 @@ width:30, | ||
} = defaultControl.margin, | ||
gap = defaultControl.gap, | ||
drag:{ | ||
@@ -70,2 +72,12 @@ width = defaultControl.drag.width, | ||
{ | ||
name:"gap", | ||
displayName:"上间距", | ||
type:"number", | ||
value:gap, | ||
config:{ | ||
suffix:"px" | ||
}, | ||
tip:"与X轴的距离" | ||
}, | ||
{ | ||
name: "drag", | ||
@@ -72,0 +84,0 @@ displayName: "详情区域", |
727140
13202