diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..8a61989 Binary files /dev/null and b/.DS_Store differ diff --git a/.gitignore b/.gitignore index 232737b..03818e5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules src/images/.svn /src/images/nmosd +/src/images diff --git a/project.config.json b/project.config.json index 2325b0d..746409b 100644 --- a/project.config.json +++ b/project.config.json @@ -3,10 +3,7 @@ "miniprogramRoot": "src/", "compileType": "src", "setting": { - "useCompilerPlugins": [ - "typescript", - "sass" - ], + "useCompilerPlugins": ["typescript", "sass"], "babelSetting": { "ignore": [], "disablePlugins": [], @@ -51,27 +48,16 @@ "packOptions": { "ignore": [ { - "value": "/images/*.jpg", - "type": "glob" - }, - { - "value": "/images/**/*.jpg", - "type": "glob" - }, - { - "value": "/images/*.png", - "type": "glob" - }, - { - "value": "/images/**/*.png", + "value": "/images/*", "type": "glob" }, { - "value": "/images/**/*.gif", + "value": "/images/**/*", "type": "glob" } ], "include": [] }, "appid": "wx96104303877e3fd9" -} \ No newline at end of file +} + diff --git a/src/utils/page.ts b/src/utils/page.ts index 4cb4663..51eaa8b 100644 --- a/src/utils/page.ts +++ b/src/utils/page.ts @@ -54,14 +54,14 @@ function page(config: WechatMiniprogram.Page.Instance