Browse Source

fix:更新ajax请求、静态资源缓存版本号

郭小北 2 years ago
parent
commit
97494b603a

+ 3 - 3
tripartiteAuth/index.html

@@ -16,8 +16,8 @@
 	<link href="https://cdn-ali4.jianyu360.com/jyapp/css/font.css?v=2182" rel="stylesheet">
 	<link rel="stylesheet" href="https://cdn-ali.jianyu360.com/structuredata/mobile/css/base.css?v=24356" />
 	<link rel="stylesheet" href="//cdn-common.jianyu360.com/cdn/lib/vant/2.12.24/lib/index.css" />
-	<link rel="stylesheet" href="static/css/tripartiteAuth.css?v=m.10000" />
-	<script src="/common-module/public/head.js?v=m.10000"></script>
+	<link rel="stylesheet" href="static/css/tripartiteAuth.css?v=m.10001" />
+	<script src="/common-module/public/head.js?v=m.1000"></script>
 </head>
 
 <body>
@@ -215,7 +215,7 @@
 <script src="/jyapp/js/common.js?v=m.10000"></script>
 
 <!-- 本身逻辑js -->
-<script src="static/js/tripartiteAuth.js?v=m.10000"></script>
+<script src="static/js/tripartiteAuth.js?v=m.10001"></script>
 
 <!-- 引入埋点js -->
 <script src="/common-module/track/j-track.min.js?v=m.10000"></script>

+ 1 - 1
tripartiteAuth/static/css/tripartiteAuth.css

@@ -213,7 +213,7 @@ body {
 }
 
 #app .jy_authshow_group .authshow_group_box {
-  background-image: url('../image/authtxtList_Bg.png');
+  background-image: url('../image/authtxtList_Bg.png?v=m.10001');
   /* padding: .67rem 0; */
   height: 9.6rem;
   width: 100%;

+ 5 - 2
tripartiteAuth/static/js/tripartiteAuth.js

@@ -186,10 +186,13 @@ var vmSol = new Vue({
       ],
     },
     qreobj: {
-      phone: '18624906090',
+      phone: '1800000000',
       wxCodeImg: 'static/image/qrCodeimg.jpg',
     },
   },
+  mounted() {
+    this.getqrecode_dataFun()
+  },
   // 生命周期阶段
   created: function () {
     // 再次判断 客户端归属
@@ -257,7 +260,7 @@ var vmSol = new Vue({
         dataType: 'json',
         url: '/commercial/customer/info',
         success: function (res) {
-          if (res && res.status) {
+          if (res) {
             console.log('二维码res=====', res)
             vue_that.qreobj.wxCodeImg = res.data.wxCodeImg
             vue_that.qreobj.phone = res.data.phone