zouling 7 ヶ月 前
コミット
169c9d5cb7
2 ファイル変更6 行追加3 行削除
  1. 1 1
      config.js
  2. 5 2
      hybrid/html/face.html

+ 1 - 1
config.js

@@ -2,7 +2,7 @@
 module.exports = {
   // baseUrl: 'https://rzdb.qs163.cn/prod-api',
   baseUrl: 'https://rzdbh.qs163.cn/prod-api',
-  // baseUrl: 'http://47.99.82.249:6001/prod-api',
+  // baseUrl: 'http://47.99.82.249:5017/prod-api',
   // baseUrl: 'http://192.168.101.168:8056',
   // baseUrl: 'http://192.168.101.245:8056',
   Clientid:'428a8310cd442757ae699df5d894f051',//

+ 5 - 2
hybrid/html/face.html

@@ -28,7 +28,7 @@
 			data: {
 				metaInfo: '',
 				baseUrl: 'https://rzdbh.qs163.cn/prod-api'
-				// baseUrl: 'http://47.99.82.249:6001/prod-api'
+				// baseUrl: 'http://47.99.82.249:5017/prod-api'
 				// baseUrl: 'http://192.168.101.245:8056'
 			},
 			mounted() {
@@ -81,7 +81,10 @@
 							if (res.code == 200) {
 								var certifyUrl = res.data.certifyUrl;
 								// window.location.href = certifyUrl;
-								window.top.location.href = certifyUrl
+								var time=setTimeout(function(){
+									window.location.href = certifyUrl
+								},10)
+								
 								// location.href=certifyUrl
 							} else {
 								// that.$message({