你看看你class里是不是加了{{ }}
一个小错误花了我好长时间,哭唧唧
[ appservice 生成错误] pages/pay/pay.js: file: pages/pay/pay.js
unknown: Unexpected token (75:70)
73 | const orderParams={order_price,consignee_addr,goods};
74 | // 4.准备发请求 创建订单 获取订单编号
75 | const {order_number}=await request({url:"/my/orders/create",method=“POST”,data:orderParams,header})
| ^
76 |
77 | console.log(order_number);
78 | }
[ appservice 生成错误] pages/pay/pay.js: file: pages/pay/pay.js
unknown: Unexpected token (75:70)
73 | const orderParams={order_price,consignee_addr,goods};
74 | // 4.准备发请求 创建订单 获取订单编号
75 | const {order_number}=await request({url:"/my/orders/create",method=“POST”,data:orderParams,header})
| ^
76 |
77 | console.log(order_number);
78 | }
这个是冒号不是等号,秃秃秃秃秃秃秃了