mo 3 سال پیش
والد
کامیت
94e38c1a1e
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/components/hotSearch/index.tsx

+ 2 - 2
src/components/hotSearch/index.tsx

@@ -154,10 +154,10 @@ export default defineComponent({
 
     const clickHotTag = (key: string) => {
       if (props.isChiose) {
-        state.hotList.forEach(element => {
+        state.hotList.forEach((element : any)=> {
           element.isCheck = false as never
         })
-        state.hotList.forEach(element => {
+        state.hotList.forEach((element : any) => {
           if (element.key == key) {
             element.isCheck = true as never
           }