-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
修复百度小程序安装 html 插件时不渲染问题,优化其他问题 #15143
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 目录下而已,直接在原文件加上这个字段的话 是不是也有一样的效果呢?
@@ -57,9 +57,6 @@ export class Template extends RecursiveTemplate { | |||
|
|||
this.legacyMiniComponents = { ...result } | |||
|
|||
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.
fix: [harmony-hybrid]修复clearStorageSync报错的问题
fix: [harmony-hybrid]修复dev模式下桥接到原生侧的同步API崩溃问题
…p docs (NervJS#17081) Updated the `decodeAudioData` method in `WebAudioContext` to match the official WeChat Mini Program documentation: - Modified the return type to `Promise<AudioBuffer>` instead of `AudioBuffer`, because of this method' actual response. - Adjusted method parameters to accept `audioData`, `successCallback`, and `errorCallback`. This fixes the TypeScript error and aligns the implementation with the expected API behavior. Closes NervJS#17080 Co-authored-by: Shijie Yu <yushijiechn@qq.com>
* fix: stylelint version * fix: lock 文件 * fix: stylelint version * fix: lock 文件 * fix: 修改pnpm版本重新pnpm i --------- Co-authored-by: tony chen <329604487@qq.com> Co-authored-by: Shijie Yu <yushijiechn@qq.com>
Co-authored-by: mayintao3 <mayintao3@jd.com> Co-authored-by: Shijie Yu <yushijiechn@qq.com>
Co-authored-by: Shijie Yu <yushijiechn@qq.com>
* fix: extend the judgment logic of isBooleanStringLiteral * fix(template): updateSnapshot --------- Co-authored-by: Shijie Yu <yushijiechn@qq.com>
* fix(rn): keyboard height on hide * fix(rn): 空字符串时,输入中文异常
build swan 百度小程序的时候出现页面渲染只有 page > template 两个节点
根据 build 后的模板文件可知是因为丢了 tmpl_0_2, tmpl_0_7 两个模板造成的
在 swan 插件源码中发现是被主动删掉了,但是没有处理删掉后造成的影响
这个 PR 是什么类型? (至少选择一个)
这个 PR 涉及以下平台:
fix #14945