Commit 183c4dd6 authored by 李苏's avatar 李苏 💬

特有类型拓展属性调整为公共名称typeConfig内部属性外拓

parent f9bb4c97
...@@ -105,11 +105,14 @@ ...@@ -105,11 +105,14 @@
endProp: "end", endProp: "end",
span: 8, span: 8,
type: 'RelDaterangeV2', type: 'RelDaterangeV2',
typeConfig:{
servertime:true, servertime:true,
servertimeSetting:(from,timer)=>{ servertimeSetting:(from,timer)=>{
from.end=new Date().getTime(timer) from.end=new Date().getTime(timer)
from.start=new Date().getTime(timer) - 1000 * 60 * 60 * 24 * 30 from.start=new Date().getTime(timer) - 1000 * 60 * 60 * 24 * 30
} }
}
}, },
{ {
"label": "仓库", "label": "仓库",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment