mo před 3 roky
rodič
revize
94e38c1a1e
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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
           }