|
@@ -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'),
|