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

Merge branch 'master' of ssh://16.162.42.175:8013/guanli/ngfrontend into feature/NG-93
merge

tyler пре 1 година
родитељ
комит
072515a8f7
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      src/views/user/welcome-pack.vue

+ 2 - 1
src/views/user/welcome-pack.vue

@@ -687,7 +687,8 @@ export default {
       // 余额是否充足
       if ((this.form.payType === 'cash') && ((amountBalance - this.payAmount) < 0)) {
         // 账户类型提示信息
-        const account = this.payList.filter(item => {
+        const payListArray = Array.from(this.form.payType)
+        const account = payListArray.filter(item => {
           return this.form.payType === item.label
         })
         const accountType = account[0] && account[0].name || ''