Commit 01c40ef0 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

fix: 修改营销活动折扣保留一位小数

parent 6f6b2e04
......@@ -420,7 +420,7 @@ const RulesLayout: React.FC<RulesLayoutProps> = (props: any) => {
return Promise.reject(new Error('最多保留2位小数,大于0且小于优惠门槛'))
}
if (!pattern4.test(value) && int === ACTIVITY_TYPE_5 && type === 2) {
return Promise.reject(new Error(`${intl.formatMessage({ id: 'selfManagement.greaterDecimalPlaces' })}`));
return Promise.reject(new Error(`${intl.formatMessage({ id: 'selfManagement.rejectmin1' })}`));
}
return Promise.resolve();
} catch (err) {
......
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