Files
ChowBox/miniapp/components/mode-card/mode-card.js
王鹏 802b4ba229 fix: 修复 VoiceController Map.of 兼容性 + ExploreController 参数不匹配
- VoiceController: Map.of() -> Collections.singletonMap() 兼容 Java 8
- ExploreController: 补齐 takeoutService.roll() 缺失的 taste/priceRange/allergies 参数

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-08 20:02:27 +08:00

15 lines
347 B
JavaScript

Component({
properties: {
type: { type: String, value: 'takeout' },
icon: { type: String, value: '' },
title: { type: String, value: '' },
desc: { type: String, value: '' },
actionText: { type: String, value: '开盒' }
},
methods: {
onTap() {
this.triggerEvent('open', { type: this.data.type });
}
}
});