瀏覽代碼

fix:二维码时间戳优化

zhanghui 2 年之前
父節點
當前提交
0a48ceae21
共有 3 個文件被更改,包括 3 次插入1 次删除
  1. 1 1
      pages/index/attach/attach.vue
  2. 1 0
      pages/index/manager/manager.vue
  3. 1 0
      pages/register/register.vue

+ 1 - 1
pages/index/attach/attach.vue

@@ -144,7 +144,7 @@
 				this.$refs.createQrCodePopup.open()
 			},
 			closePopup(){
-				this.qrcodeUrl=this.$xcxUrl+'?expandUserId={expandUserId}&ruleId={ruleId}',
+				this.qrcodeUrl=this.$xcxUrl+'?expandUserId={expandUserId}&ruleId={ruleId}&timestamp={timestamp}',
 				this.$refs.createQrCodePopup.close()
 			},
 		}

+ 1 - 0
pages/index/manager/manager.vue

@@ -260,6 +260,7 @@
 				}
 			},
 			closePopup(){
+				this.qrcodeUrl=this.$tkUrl+'?roleId={roleId}&parentId={parentId}&timestamp={timestamp}',
 				this.$refs.rolePopup.close()
 				this.$refs.createQrCodePopup.close()
 				this.$refs.rulePopup.close()

+ 1 - 0
pages/register/register.vue

@@ -270,6 +270,7 @@
 					uni.showModal({
 						title: '温馨提示',
 						content: ' 当前二维码已过期,请重新扫码',
+						showCancel:false,
 						success: function (res) {
 							if (res.confirm) {
 								console.log('用户点击确定');