From 3342e77756618c7b6ee47dbb309401696d4d72d1 Mon Sep 17 00:00:00 2001 From: kongdeqiang <123456> Date: 星期一, 05 六月 2023 18:07:53 +0800 Subject: [PATCH] 修改前端页面 --- src/components/page/IndexTest.vue | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/components/page/IndexTest.vue b/src/components/page/IndexTest.vue index a19a9c0..e4fa7b8 100644 --- a/src/components/page/IndexTest.vue +++ b/src/components/page/IndexTest.vue @@ -107,13 +107,10 @@ return; } this.$byutil.postData(this, this.$systemconfig.basePath + '/ffzf/api/park', {id:this.outParkId}, res => { - this.$message({ - message: '2绉掑悗鑷姩璺宠浆鍒版敮浠橀〉闈紝闃叉鍐呭缃戞暟鎹悓姝ュ欢杩燂紝璇风◢绛�', - type: 'success', - duration:2000, - }); - setTimeout(function(){window.location.href = res.msg;},2000); - this.showFlag = false; + if(res.code === 0){ + window.location.href = res.msg + this.showFlag = false + } }) }, noCarOut(){ -- Gitblit v1.9.1