-
Notifications
You must be signed in to change notification settings - Fork 4.9k
修复百度小程序安装 html 插件时不渲染问题,优化其他问题 #15143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 3.x
Are you sure you want to change the base?
Conversation
已rebase |
distProjectConfig = Object.assign({}, origProjectConfig, { miniprogramRoot: './' }) | ||
distProjectConfig = Object.assign({}, origProjectConfig) | ||
if (distProjectConfig.miniprogramRoot) { | ||
distProjectConfig.miniprogramRoot = './' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不是很理解在这里许改 config 的意义,generateProjectConfig 做的事情好像就是把你原本的 config 放到 dist 目录下而已,直接在原文件加上这个字段的话 是不是也有一样的效果呢?
|
||
delete result['pure-view'] | ||
delete result['static-view'] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这么改好像会导致出现之前的一个问题 :#6015
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* feat: 支持readonly属性 * feat: 添加测试项目 * feat: 添加测试项目 * feat: 成功测试vue3+taro+h5 * feat: 修复类型问题 * feat: 同步viite类型 --------- Co-authored-by: heyongqi10 <heyongqi10@jd.com>
* test(@tarojs/extend): jest to vitest * test(@tarojs/shared): trigger ci
Co-authored-by: Amumu <yoyo837@hotmail.com>
* test: jest to vitest * chore: reinstall
* test(babel-plugin-transform-taroapi): jest to vitest * fix: script --------- Co-authored-by: Amumu <yoyo837@hotmail.com>
* refactor: type code optimization * feat: update code * feat: update code
* feat: h5中编译器为vite时支持配置vite下所有server options * chore: update taro-vite-runner * feat: vite2 * fix: 更正ServerOptions类型使用 * fix: 更正ServerOptions类型使用
…收集依赖 (NervJS#18259) * fix(vite): use await collected * fix(vite): 修复 harmony 部分自定义组件 emit 时机问题 * fix(vite): harmony extra comps repeat * fix(vite): harmony custom routes origin name error * feat: 修改harmony生成的目录路径以适配bundle场景 * chore(release): publish 4.1.5-alpha.1 --tag=alpha * fix(harmony): 修复 ohpm 不支持的资源文件名 * chore(release): publish 4.1.5-alpha.2 --tag=alpha --------- Co-authored-by: ZakaryCode <zakarycode@gmail.com> Co-authored-by: mayintao3 <mayintao3@jd.com> Co-authored-by: zhutianjian3 <zhutianjian@jd.com>
* feat: 增加refresher空白导出以适配ui * chore(release): publish 4.1.5-beta.1 --tag=beta * feat: 暂时屏蔽不支持的关闭动画,增加英文版配置 * chore(release): publish 4.1.5-beta.2 --tag=beta * feat: 统一list组件导出方式 * chore(release): publish 4.1.5-beta.3 --tag=beta * fix: 修复Picker组件在Dynamic端出现的异常scrollTop不存在问题 * chore(release): publish 4.1.5-beta.4 --tag=beta * chore(release): publish 4.1.5-beta.6 --tag=beta * fix: 修复h5端会启动小程序解析插件的问题 * fix: 修改picker日期选择器默认时间区间 * fix: 修改默认按钮样式,增加color参数供给管理确定按钮、取消按钮、选项字体默认颜色、选项字体选中颜色四个参数,剔除冗余style参数 * chore(release): publish 4.1.5-beta.7 --tag=beta * chore: 还原版本号解决冲突 --------- Co-authored-by: zhuqingan.3 <zhuqingan.3@jd.com> Co-authored-by: vasily <chenchiajun@gmail.com>
* fix: 修复windows开发环境Taro对象上等方法不可用 * fix:保持原有 * fix: 修复windows开发环境Taro对象上等方法不可用
Co-authored-by: chenjiajun79 <chenjiajun79@jd.com>
* feat: 增加支付宝小程序 Page.events useKeyboardHeight * test: 在多个快照测试中添加 useKeyboardHeight 函数 * fix: 更新 PageInstance 接口,添加 events 属性以支持支付宝小程序事件
Co-authored-by: runc <runc@arrun.net>
…st (NervJS#18146) * test(babel-plugin-transform-react-jsx-to-rn-stylesheet): jest to vitest * fix: type err * fix: type err * chore: full build [no ci] * fix: type err * fix: null case * test: root vitest * fix: typo * chore: 限制CI时长为30min * chore: aggregate output * chore: fail fast --------- Co-authored-by: Amumu <yoyo837@hotmail.com>
…rvJS#18291) * fix(vite-runner): correct default value of vite option `fs.allow` * style(vite-runner): fix style error --------- Co-authored-by: Amumu <yoyo837@hotmail.com>
* fix(vite): use await collected * fix(vite): 修复 harmony 部分自定义组件 emit 时机问题 * fix(vite): harmony extra comps repeat * fix(vite): harmony custom routes origin name error * feat: 修改harmony生成的目录路径以适配bundle场景 * chore(release): publish 4.1.5-alpha.1 --tag=alpha * fix(harmony): 修复 ohpm 不支持的资源文件名 * chore(release): publish 4.1.5-alpha.2 --tag=alpha * revert(harmony): 还原 inject 插件对平台基类的错误引用 * fix(harmony): 修复 filter 错误匹配 * fix(harmony): img ext --------- Co-authored-by: mayintao3 <mayintao3@jd.com> Co-authored-by: zhutianjian3 <zhutianjian@jd.com>
fix(harmony): 修复 resource 后缀
…“taroize is not a function” (NervJS#18327) (NervJS#18379) * fix(@tarojs/cli-convertor): 修复“taroize is not a function” (NervJS#18327) * fix(@tarojs/cli-convertor): 修复“taroize is not a function” (NervJS#18327) --updateSnapshot
NervJS#18373) * fix: 当设置babel 的targets为ios10以后,class不转换后导致onShareAppMessage和onShareTimeline检测失效 * fix: eslint check --------- Co-authored-by: moseszhou <zhoujian@myai.tech>
* feat: 给image增加lego模式,Stencil及React版本添均加 * chore(release): publish 4.1.6-beta.1 --tag=beta * chore(release): publish 4.1.7-beta.0 --tag=beta * feat(taro-components-react): 新增 Button 组件对 TD 端的支持 - 支持 size 属性,提供多种尺寸选项 - 支持 type 属性,提供不同按钮类型 - 支持 plain 属性,实现朴素按钮样式 - 支持 disabled 属性,控制按钮禁用状态 - 支持 onClick 事件处理 * chore(release): publish 4.1.7-alpha.0 --tag=alpha * feat: lego模式增加lang参数 * chore(release): publish 4.1.7-beta.1 --tag=beta * feat: 删除旧版为端侧增加的打包配置,新增original打包配置 * chore(release): publish 4.1.7-beta.2 --tag=beta * fix: 修复依赖 * fix: 还原版本号 * chore(release): publish 4.1.7-beta.2 --tag=beta * fix: 修复版本异常 * chore(release): publish 4.1.7-beta.2 --tag=beta * fix: 修复依赖打包异常 * chore(release): publish 4.1.7-beta.2 --tag=beta * fix: 格式化修改 * fix: 修复cjs中引入的样式失效的问题 * chore(release): publish 4.1.7-beta.3 --tag=beta * fix: 修改original产物 * chore(release): publish 4.1.7-beta.4 --tag=beta * fix: 修复依赖问题 * fix: 回退版本 * chore(release): publish 4.1.7-beta.4 --tag=beta * fix: 修复版本号 * fix: 还原配置文件 * fix: 修复异常依赖问题 * fix: 修改eslint问题 * 修改依赖版本 * fix: 修改依赖 --------- Co-authored-by: zhuqingan.3 <zhuqingan.3@jd.com> Co-authored-by: zhianziqiyan <978447795@qq.com> Co-authored-by: mayintao3 <mayintao3@jd.com> Co-authored-by: vasily <chenchiajun@gmail.com>
Co-authored-by: chenjiajun79 <chenjiajun79@jd.com>
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
build swan 百度小程序的时候出现页面渲染只有 page > template 两个节点
根据 build 后的模板文件可知是因为丢了 tmpl_0_2, tmpl_0_7 两个模板造成的
在 swan 插件源码中发现是被主动删掉了,但是没有处理删掉后造成的影响
这个 PR 是什么类型? (至少选择一个)
这个 PR 涉及以下平台:
fix #14945