|
@@ -198,7 +198,7 @@ export const createAxiosByinterceptors = (config) => {
|
|
};
|
|
};
|
|
// 检测无牌车出场参数, 必须为必填参数
|
|
// 检测无牌车出场参数, 必须为必填参数
|
|
if(/unlicensed-car-checkout/g.test(config.url)) {
|
|
if(/unlicensed-car-checkout/g.test(config.url)) {
|
|
- const data = JSON.parse(config.data)
|
|
|
|
|
|
+ const data = config.data
|
|
if(!data.vehicleNo && !data.gateId || !config.data) {
|
|
if(!data.vehicleNo && !data.gateId || !config.data) {
|
|
throw {
|
|
throw {
|
|
response: {
|
|
response: {
|