Prechádzať zdrojové kódy

新增检验文件2

JXDS18FUJT 2 rokov pred
rodič
commit
6f320553ae

+ 0 - 0
NSMCLVlQxu.txt → public/NSMCLVlQxu.txt


+ 4 - 4
src/views/downloadCaigong2/index.tsx

@@ -23,13 +23,13 @@ export const DownloadCaigong2: React.FC = (props: any) => {
     }
     useEffect(()=>{
         if (is_weixin()) {
-            document.querySelectorAll('#app a')[0].style.display = 'none'
-            document.querySelectorAll('#app a')[1].style.display = 'none'
+            document.querySelectorAll<HTMLElement>('#app a')[0].style.display = 'none'
+            document.querySelectorAll<HTMLElement>('#app a')[1].style.display = 'none'
 
         }
         else {
-            document.querySelectorAll('#app a')[2].style.display = 'none'
-            document.querySelectorAll('#app a')[3].style.display = 'none'
+            document.querySelectorAll<HTMLElement>('#app a')[2].style.display = 'none'
+            document.querySelectorAll<HTMLElement>('#app a')[3].style.display = 'none'
 
         }