소스 검색

Merge branch 'iteration-create'

liushengqiang 1 년 전
부모
커밋
fb1468d93f
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 2
      src/views/guide/components/android-guide.tsx
  2. 1 1
      src/views/guide/components/ios-guide.tsx

+ 2 - 2
src/views/guide/components/android-guide.tsx

@@ -3,11 +3,11 @@ import styles from './andoird-guide.module.less'
 
 export const getAssetsHomeFile = (fileName: string) => {
   const path = `../images/${fileName}`
-  const modules = import.meta.globEager('../images/*')
+  const modules: any = import.meta.globEager('../images/*')
   return modules[path].default
 }
 
-const infoMsg = {
+const infoMsg: any = {
   meizu: {
     img1: getAssetsHomeFile('4.png'),
     img2: getAssetsHomeFile('5.png'),

+ 1 - 1
src/views/guide/components/ios-guide.tsx

@@ -3,7 +3,7 @@ import styles from './ios-guide.module.less'
 
 export const getAssetsHomeFile = (fileName: string) => {
   const path = `../images/${fileName}`
-  const modules = import.meta.globEager('../images/*')
+  const modules: any = import.meta.globEager('../images/*')
   return modules[path].default
 }