Browse Source

fix: 修复测试验证v1.0

chenpeng 1 day ago
parent
commit
1a997d527f
2 changed files with 4 additions and 4 deletions
  1. 3 3
      components/business/about/show.vue
  2. 1 1
      components/business/home/banner.vue

+ 3 - 3
components/business/about/show.vue

@@ -60,10 +60,10 @@ onUnmounted(() => {
         <div class="w-50% block-left flex user-select justify-center items-center pr-100px">
           <Swiper
             :modules="modules"
-            mousewheel="false"
+            :mousewheel="false"
             :loop="true"
             effect="cards"
-            grab-cursor="true"
+            :grab-cursor="true"
             :autoplay="{
               delay: 3000,
               disableOnInteraction: false,
@@ -85,7 +85,7 @@ onUnmounted(() => {
           <Swiper
             direction="vertical"
             :modules="modules"
-            mousewheel="false"
+            :mousewheel="false"
             :loop="true"
             :allow-touch-move="false"
             :pagination="false"

+ 1 - 1
components/business/home/banner.vue

@@ -17,7 +17,7 @@ const modules = [Navigation, Pagination, Autoplay]
 const categoryList = ref<any>([])
 const swiperVertical = ref<any>(null)
 
-const requestUrl = `${ConstKeys.DOMAINDEV}${Api.CategoryList}`
+const requestUrl = `${Api.CategoryList}`
 const { data, pending, error, refresh } = await useAsyncData(
   'category-catalogue',
   () => $fetch(`${requestUrl}`, { params: { all: true } }),