-
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
通过plugin-inject插件新增组件,编译后部分基础组件丢失 #13299
Closed
Comments
18 tasks
Chen-jj
added a commit
that referenced
this issue
Sep 26, 2023
Chen-jj
added a commit
that referenced
this issue
Sep 26, 2023
This was referenced Sep 26, 2023
Chen-jj
added a commit
that referenced
this issue
Oct 31, 2023
moseszhou
added a commit
to moseszhou/taro
that referenced
this issue
Nov 1, 2023
* next: fix: 修复babel-plugin-transform-taroapi插件对canIUse入参scheme处理问题 (NervJS#14717) feat: deriveDataFromProps逻辑抽离到/plugin-platform-alipay fix(alipay): support root-portal component (NervJS#14171) fix(plugin-inject): 修复 Vue2 使用 componentsMap 配置时报错的问题,NervJS#13299 NervJS#14520 (NervJS#14607) fix(weapp): `Map` attribute replenishment refactor(types): sync components types fix(weapp): `LivePlayer` attribute replenishment (NervJS#14668) fix(tt): `Input` attribute replenishment types: 根据文档补充配置 enableSourceMap 类型 fix(weapp): 完善微信小程序视频号相关组件的属性实现,fix NervJS#14608 chore: 添加提示文案 fix: 支付宝渲染问题, 当页面复杂,CustomWrapper和page都有数据更新时,CustomWrapper的UI有几率出现不更新的情况 Revert "perf: rn端sass文件引入路径包含别名时支持~,例如: @import ’~@/common/baseStyle.scss‘"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
复现仓库
https://github.com/molunhui/taro-plugin-inject-debug.git
小程序基础库: 2.30.0
使用框架: React
复现步骤
['@tarojs/plugin-inject', {
components: {
// 新增一个组件
MyComponent: {
key: "",
transform: "true",
duration: "300",
"easing-function": ""
}
},
// 新增的组件需要写映射
componentsMap: {
MyComponent: 'my-component'
}
}]
期望结果
编译后基础组件不丢失
实际结果
编辑后部分基础组件丢失
环境信息
The text was updated successfully, but these errors were encountered: