diff --git a/src/rider/index.tsx b/src/rider/index.tsx index 584c0ca..7fbeae8 100644 --- a/src/rider/index.tsx +++ b/src/rider/index.tsx @@ -97,6 +97,7 @@ const DealerIndex: React.FC = () => { // 请求订阅 Taro.requestSubscribeMessage({ tmplIds: validTemplateIds, + entityIds: [], // 支付宝模板ID(微信端不需要,仅满足类型要求) success: (res) => { console.log('订阅消息授权结果:', res) const accepted = Object.values(res).some(v => v === 'accept') @@ -121,7 +122,7 @@ const DealerIndex: React.FC = () => { icon: 'none' }) } - }) + } as Taro.requestSubscribeMessage.Option) } // 点击待使用金额 - 配送员专用:将冻结金额转入可提现