Parcourir la source

fix: 渠道选项加载所有类型,修复回显时显示 ID 问题

Developer il y a 4 jours
Parent
commit
b761fc6dd9
2 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. BIN
      dist.zip
  2. 1 1
      src/views/modules/member/detail.vue

BIN
dist.zip


+ 1 - 1
src/views/modules/member/detail.vue

@@ -241,7 +241,7 @@ export default {
   methods: {
     getSupplierOptions () {
       this.$http.get('/core/channel/page', { params: { page: 1, limit: -1 } }).then(res => {
-        this.channelOptions = res.data.data.list.filter(item => item.type === 1) || []
+        this.channelOptions = res.data.data.list || []
       })
     },
     getDetail () {