cmy 1 month ago
parent
commit
aa9bd12b33
2 changed files with 8 additions and 7 deletions
  1. 2 2
      manifest.json
  2. 6 5
      pages/index/pledge.vue

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "STAR",
     "appid" : "__UNI__0A11003",
     "description" : "",
-    "versionName" : "1.1.7",
-    "versionCode" : 117,
+    "versionName" : "1.1.8",
+    "versionCode" : 118,
     "transformPx" : false,
     "app-plus" : {
         /* 5+App特有相关 */

+ 6 - 5
pages/index/pledge.vue

@@ -65,7 +65,7 @@
 					<uni-icons type="close" size="28" @click="showBank = false"></uni-icons>
 				</view>
 				<view class="bankList flex" @click="bankSelect(item)" v-if="bankList.length > 0"
-					v-for="item,index in bankList">
+					v-for="(item,index) in bankList">
 					<view class="infoTpl">
 						<view class="tplName flex_item">
 							<image src="/static/image/bank.png" class="typeTipImg" v-if="item.type == 'bank'"
@@ -191,15 +191,16 @@
 								item.name = item.name + '   ' + item.phone
 							}
 						})
-						obj.bankList = data.map((re) => {
+						let onArr = [];
+						obj.bankList = data.filter((re) => {
 							if (re.type == 'bank' && obj.infoChecked.sell_bank_open == "1") {
-								return re
+								return true
 							}
 							if (re.type == 'wx' && obj.infoChecked.sell_weixin_open == "1") {
-								return re
+								return true
 							}
 							if (re.type == 'alipay' && obj.infoChecked.sell_alipay_open == "1") {
-								return re
+								return true
 							}
 						});
 						// 保存信息