diff --git a/template/wechatMp/src/utils/polyfill.ts b/template/wechatMp/src/utils/polyfill.ts index 74c303a..e089059 100644 --- a/template/wechatMp/src/utils/polyfill.ts +++ b/template/wechatMp/src/utils/polyfill.ts @@ -1,4 +1,4 @@ -import '@oak-frontend-base/utils/wx.polyfill'; +import 'oak-frontend-base/es/utils/wx.polyfill'; Object.assign(global, { /** * 封装wx环境下的fetch,注意有部分属性并非完全吻合,请谨慎使用