fix:多平台兼容
This commit is contained in:
@@ -604,7 +604,7 @@
|
||||
|
||||
console.log(deviceId.value);
|
||||
// 调用设备租借接口
|
||||
const rentResult = await rentPowerBank(deviceId.value, phoneNumber.value)
|
||||
const rentResult = await rentPowerBank(deviceId.value, phoneNumber.value,payWay.value)
|
||||
if (rentResult.code !== 200) {
|
||||
throw new Error(rentResult.msg || t('device.rentFailed'))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user