|
@@ -811,6 +811,9 @@ export default {
|
|
|
/*杭州*/
|
|
|
if (!isHZ(this.mallId)) return
|
|
|
try {
|
|
|
+ if(this.$route.query.isLogin === 'loginDenied') {
|
|
|
+ throw new Error('设置默认参数')
|
|
|
+ }
|
|
|
let vehicles = []
|
|
|
// 获取用户车场在停车辆数据集
|
|
|
vehicles = await parkingRecord({
|
|
@@ -820,7 +823,8 @@ export default {
|
|
|
// 获取用户的所有车牌
|
|
|
const userVehicles = await getVehicles(this.kipUserId)
|
|
|
if (!vehicles.length) {
|
|
|
- vehicles = userVehicles.content
|
|
|
+ throw new Error('设置默认参数')
|
|
|
+ // vehicles = userVehicles.content
|
|
|
}
|
|
|
if (vehicles.length) {
|
|
|
// 判断是否存在无牌车
|
|
@@ -831,7 +835,7 @@ export default {
|
|
|
this.numArr = vehicles[0].vehicleNo.split('');
|
|
|
this.vehicleNumber = vehicles[0].vehicleNo;
|
|
|
} else {
|
|
|
- throw new Error('202')
|
|
|
+ throw new Error('设置默认参数')
|
|
|
}
|
|
|
} catch (e) {
|
|
|
// 设置默认参数
|