From 1e106aedda95d0df26ce9909da2761cde2105d32 Mon Sep 17 00:00:00 2001
From: 1012414140@qq.com <1012414140@qq.com>
Date: 星期五, 16 十月 2026 09:42:17 +0800
Subject: [PATCH] feat: 获取 “去缴费接口” 的响应失败
---
src/components/page/Index2.vue | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/src/components/page/Index2.vue b/src/components/page/Index2.vue
index 2720c15..a32bb49 100644
--- a/src/components/page/Index2.vue
+++ b/src/components/page/Index2.vue
@@ -121,11 +121,19 @@
type: 'error',
duration:3000,
});
+ this.payFlag = false;
return;
}
this.$byutil.postData(this, this.$systemconfig.basePath + '/ffzf/api/park', {id:this.outParkId}, res => {
- window.location.href = res.msg
this.showFlag = false;
+ if(res.msg){
+ window.location.href = res.msg;
+ }else{
+ this.$message.error('鑾峰彇缂磋垂閾炬帴澶辫触, 璇烽噸鏂版壂鐮佹敮浠�');
+ }
+ }, () => {
+ this.payFlag = false;
+ this.$message.error('璇锋眰缂磋垂閾炬帴澶辫触锛岃閲嶆柊鎵爜鏀粯锛�');
})
},
noCarOut(){
--
Gitblit v1.9.1