Commit d45f6ba4 authored by XieZhiXiong's avatar XieZhiXiong

fix: 修复placeholder国际化后只有一个的问题

parent ee94fede
...@@ -105,7 +105,7 @@ const schema: ISchema = { ...@@ -105,7 +105,7 @@ const schema: ISchema = {
required: true, required: true,
'x-component': 'RangePicker', 'x-component': 'RangePicker',
'x-component-props': { 'x-component-props': {
placeholder: [intl.formatMessage({ id: 'merchantCoupon.giveCouponStartTime' }) + ',' + intl.formatMessage({ id: 'merchantCoupon.giveCouponEndTime' })], placeholder: [intl.formatMessage({ id: 'merchantCoupon.giveCouponStartTime' }), intl.formatMessage({ id: 'merchantCoupon.giveCouponEndTime' })],
showTime: true, showTime: true,
disabledDate: (current) => current && current < moment().startOf('day'), disabledDate: (current) => current && current < moment().startOf('day'),
disabledTime: (current, type) => { disabledTime: (current, type) => {
......
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