瀏覽代碼

bug 修复

lilei 4 年之前
父節點
當前提交
a216c3a734
共有 2 個文件被更改,包括 4 次插入3 次删除
  1. 2 2
      App.vue
  2. 2 1
      pages/work/index/index.vue

+ 2 - 2
App.vue

@@ -1,6 +1,6 @@
 <script>
-	// const uat_URL = 'https://carwash.test.zyucgj.com/cw-wechat/' // 预发布
-	const uat_URL = 'http://192.168.16.103:8103/cw-wechat/' // 本地
+	const uat_URL = 'https://carwash.test.zyucgj.com/cw-wechat/' // 预发布
+	// const uat_URL = 'http://192.168.16.103:8103/cw-wechat/' // 本地
 	const pro_URL = 'https://carwash.zyucgj.com/saas/clz/'  // 生产
 	const buildType = 0 // 打包环境对应类型,1 生产 0 预发布
 	const buildURL = buildType ? pro_URL : uat_URL // 打包后实际对应的url

+ 2 - 1
pages/work/index/index.vue

@@ -151,6 +151,7 @@ export default {
 					this.curWorkStutesText= e.data.msgCodeInfo
 					// 显示复位提示弹框
 					this.showStop = true;
+					this.stopWashCarSuccess();
 				}
 				// 急停
 				if(e.data.level == 'A'){
@@ -158,7 +159,7 @@ export default {
 						this.curWorkStutesText= e.data.msgCodeInfo
 						// 显示复位提示弹框
 						this.showStop = true;
-						this.stopWashCarSuccess()
+						this.stopWashCarSuccess();
 					}else{
 						this.devError()
 					}