mpx
mpx copied to clipboard
Mpx,一款具有优秀开发体验和深度性能优化的增强型跨端小程序框架
补充获取path时parseUrl接收参数兜底空字符串
当 defineOptions 存在 ObjectMethod 语法构建报错 ``` TypeError: Cannot read properties of undefined (reading 'start') at compileScriptSetup (/node_modules/@mpxjs/webpack-plugin/lib/script-setup-compiler/index.js:608:51) ``` ```js defineOptions({ ready() {}, // 报错 ready: function (){} // 正常 })...
将`if (isNotExpired && checkCacheConfig(config, cacheRequestData) && cacheRequestData.responsePromise) {}` 修改为先判断`cacheRequestData.responsePromise`,避免在 responsePromise 不存在时调用checkCacheConfig,导致equels回调触发
RN从A页面跳转B页面携带中文参数,B页面拿到后需要自己decodeURIComponent一次,相同的代码跑微信的话是正常的,这个是符合预期的么
* swiper 组件支持快速滑动的惯性能力
1. 修复tab-bar 页面使用 mpx-tab-bar-container 作为顶层容器,导致 page 样式失效问题 2. 修复页面的 page {} 中,page 样式没有隔离,会互相影响问题 3. 修复使用自定义 custom-tab-bar 时, inject __pageId 报错问题