瀏覽代碼

09/04 15:00

增加二维码去缓存
mo 5 年之前
父節點
當前提交
3e9fcb4d9c
共有 4 個文件被更改,包括 2 次插入1 次删除
  1. 0 0
      dist/index.html
  2. 0 0
      dist/static/css/app.894021c1.css
  3. 0 0
      dist/static/js/app.3cc14d58.js
  4. 2 1
      src/views/dashboard/index.vue

文件差異過大導致無法顯示
+ 0 - 0
dist/index.html


文件差異過大導致無法顯示
+ 0 - 0
dist/static/css/app.894021c1.css


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/app.3cc14d58.js


+ 2 - 1
src/views/dashboard/index.vue

@@ -509,10 +509,11 @@ export default {
     qrcode () {
 
       setTimeout(() => {
+        let date = new Date().getTime();
         this.qrcodes = new QRCode(document.getElementById("qrCode"), {
           width: 200, // 设置宽度,单位像素
           height: 200, // 设置高度,单位像素
-          text: `http://testpay.dayaedu.com/#/order?classId=${this.majorId}&schoolName=${this.actionTearm}` // 设置二维码内容或跳转地址
+          text: `http://testpay.dayaedu.com/#/order?classId=${this.majorId}&schoolName=${this.actionTearm}&?${date}` // 设置二维码内容或跳转地址
         })
       }, 100)
       if (document.getElementById("qrCode")) {

部分文件因文件數量過多而無法顯示