浏览代码

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

zhangyuhan 3 天之前
父节点
当前提交
3ab8022e67
共有 1 个文件被更改,包括 2 次插入2 次删除
  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
       }