清除业务契约双读:抽奖/草稿/时间戳/邮件只认新格式,并删除 legacy 短代码改写。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -574,11 +574,7 @@ function LotteryPanel({
|
||||
}
|
||||
};
|
||||
|
||||
const prizes = state.prizes?.length
|
||||
? state.prizes
|
||||
: state.slots > 0
|
||||
? [{ name: "奖品", count: state.slots }]
|
||||
: [];
|
||||
const prizes = state.prizes?.length ? state.prizes : [];
|
||||
|
||||
const statusBadge = state.drawn
|
||||
? { cls: "badge-status badge-status-closed", label: "已开奖" }
|
||||
|
||||
Reference in New Issue
Block a user