mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-18 04:45:07 +08:00
【代码优化】商城: 满减送活动
This commit is contained in:
@ -103,6 +103,9 @@ const deleteRule = (ruleIndex: number) => {
|
||||
|
||||
/** 添加优惠规则 */
|
||||
const addRule = () => {
|
||||
if (isEmpty(formData.value.rules)) {
|
||||
formData.value.rules = []
|
||||
}
|
||||
formData.value.rules.push({
|
||||
limit: 0,
|
||||
discountPrice: 0,
|
||||
|
Reference in New Issue
Block a user