NervJS / taro-ui

一款基于 Taro 框架开发的多端 UI 组件库
https://taro-ui.taro.zone
MIT License
4.53k stars 758 forks source link

AtCalendar组件默认不显示日期,只有设置了isSwiper=false之后,才能显示出来日期 #1762

Closed wangyanduoduo closed 7 months ago

wangyanduoduo commented 7 months ago

Taro 版本 [3.6.23] Taro UI 版本 [3.3.0] 报错平台 [weapp]

taro-ui-bot[bot] commented 7 months ago

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

taro-ui-bot[bot] commented 7 months ago

CC @SzHeJason

robinv8 commented 7 months ago

修改 config 配置如下

module.exports = {
  // ...
  framework: 'react',
- compiler: 'webpack5'
+ compiler: {
+   type: 'webpack5',
+    prebundle: {
+     exclude: ['taro-ui']
+    }
+  },
}