瀏覽代碼

历史消费

twt 1 月之前
父節點
當前提交
c0a458b87c
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      pages/user/historySpend.vue

+ 3 - 3
pages/user/historySpend.vue

@@ -172,7 +172,7 @@
 				appraise:false,
 				ReceiptsMoney:false,//支付金额
 				iStatusBarHeight:'',
-				array: [],
+				array: ['全部'],
 				index: 0,
 				wxOpenData: '',
 				plateNumber:'',
@@ -252,8 +252,8 @@
 				this.$http('openweiXinCardInfoController/plateNumber-by-customerId', {
 				    customerId:this.wxOpenData.loginInfo.uid
 				}, 'GET').then(res => {
-					this.array=res.data.split(',')
-					this.array.unshift('全部')
+					var arr = res.data.split(',')
+					this.array=this.array.concat(arr)
 				})
 			},
 			//显示权限