mo 3 năm trước cách đây
mục cha
commit
94e38c1a1e
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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
           }