Преглед изворни кода

修改【ID1005496】
【小程序-确认支付】确认支付时记录了之前输入的密码

1004749546@qq.com пре 4 година
родитељ
комит
232788d224
3 измењених фајлова са 6 додато и 0 уклоњено
  1. 2 0
      pages/order/order.vue
  2. 2 0
      pages/order/orderDetail.vue
  3. 2 0
      pages/toOrder/index.vue

+ 2 - 0
pages/order/order.vue

@@ -301,6 +301,7 @@
 			},
 			//确认放弃
 			canclePay() {
+				this.password = ''
 				this.showLeavePsw = false
 				this.showInputPsw = false
 			},
@@ -357,6 +358,7 @@
 						},300)
 						
 					} else{
+						this.password = ''
 						uni.showToast({
 							title: res.message,
 							icon: 'none'

+ 2 - 0
pages/order/orderDetail.vue

@@ -185,6 +185,7 @@
 			},
 			//确认放弃
 			canclePay() {
+				this.password = ''
 				this.showLeavePsw = false
 				this.showInputPsw = false
 			},
@@ -238,6 +239,7 @@
 							url:"/pages/toOrder/payFinish?id=" + id
 						})
 					} else{
+						this.password = ''
 						uni.showToast({
 							title: res.message,
 							icon: 'none'

+ 2 - 0
pages/toOrder/index.vue

@@ -189,6 +189,7 @@
 			canclePay() {
 				this.showLeavePsw = false
 				this.showInputPsw = false
+				this.password = ''
 				// 跳转到订单列表
 				uni.navigateTo({
 					url:"/pages/order/order"
@@ -287,6 +288,7 @@
 							url:"/pages/toOrder/payFinish?id=" + this.orderId
 						})
 					} else{
+						this.password = ''
 						uni.showToast({
 							title: res.message,
 							icon: 'none'