diff --git a/src/pages/brand/info/info.tsx b/src/pages/brand/info/info.tsx index 395ec1c..943f7be 100644 --- a/src/pages/brand/info/info.tsx +++ b/src/pages/brand/info/info.tsx @@ -1,4 +1,4 @@ -import {FC, useCallback, useEffect, useState} from "react"; +import {FC, useEffect, useState} from "react"; import {Image, Swiper, SwiperItem, View} from "@tarojs/components"; import {brandApi, BrandRecord} from "@/api"; import Taro, {useRouter} from "@tarojs/taro"; @@ -43,7 +43,7 @@ const MeetingsConfig: FC = () => { indicatorDots > { brandInfo?.brand_album?.length - && brandInfo?.brand_album.map((d) => + && brandInfo?.brand_album?.map((d) => ) diff --git a/src/pages/business/sort/sort.tsx b/src/pages/business/sort/sort.tsx index f01c221..e2cd428 100644 --- a/src/pages/business/sort/sort.tsx +++ b/src/pages/business/sort/sort.tsx @@ -7,7 +7,7 @@ type SortType = '' interface Params { id: number type: SortType - jumpUrl: () => void + jumpUrl: (data:Record) => void } const Sort: FC = () => { diff --git a/src/pages/home/components/feature.tsx b/src/pages/home/components/feature.tsx index c430b5f..c70cd79 100644 --- a/src/pages/home/components/feature.tsx +++ b/src/pages/home/components/feature.tsx @@ -8,7 +8,7 @@ import Taro from "@tarojs/taro"; const Feature: FC = () => { const list = [ - {url: '', image: article, text: '品牌'}, + {url: '/pages/brand/list/list', image: article, text: '品牌'}, {url: '', image: health, text: '健康管理'}, {url: '', image: profession, text: '专业技能'}, {url: '', image: illness, text: '疾病知识'},