Explorar o código

提现默认选中类型

huan-jie %!s(int64=5) %!d(string=hai) anos
pai
achega
7e76da3ce9
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      pages/otherpage/money/withdraw.vue

+ 3 - 0
pages/otherpage/money/withdraw.vue

@@ -136,6 +136,9 @@
           if (Number(res.data.status) === 1) {
             let data = res.data.data
             this.list = data.list
+            if (this.list && this.list.length) {
+              this.selectedId = this.list[0].id
+            }
           }
         }).catch(e => {
           console.log(e)