@@ -227,14 +227,18 @@
duration: 3000,
});
},
- complete(){
+ complete(obj){
uni.hideLoading();
- uni.showToast({
- title: 'vin扫描失败,请重试',
- icon:'none',
- duration: 3000,
- });
- console.log("vin扫描失败,请重试")
+ if(obj.statusCode!=200){
+ uni.showToast({
+ title: 'vin扫描失败,请重试',
+ icon:'none',
+ duration: 3000,
+ });
+ console.log("vin扫描失败,请重试")
+ }
+
}