Browse Source

feat: 修复工作台广告位问题

zhangyuhan 3 days ago
parent
commit
3ab8022e67
1 changed files with 2 additions and 2 deletions
  1. 2 2
      apps/bigmember_pc/src/views/workspace/components/AdContainer.vue

+ 2 - 2
apps/bigmember_pc/src/views/workspace/components/AdContainer.vue

@@ -12,7 +12,7 @@
 
 <script>
 import AdSwipe from '../ui/AdSwipe'
-import { fetchJyAdList } from '@/utils'
+import { fetchJyAdList, adConfigFormatter } from '@/utils'
 
 export default {
   name: 'AdContainer',
@@ -57,7 +57,7 @@ export default {
   computed: {
     carouselList() {
       if (Array.isArray(this.list) && this.list.length) {
-        return this.list.map(this.adConfigFormatter)
+        return this.list.map(adConfigFormatter)
       } else {
         return this.adList
       }