Skip to content
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

nut-calendar控件运用Slots插槽,ios真机不展示插槽内容,希望帮忙解决 #3010

Closed
TaoZi6277 opened this issue Apr 7, 2024 · 3 comments
Labels
browser quirks 某些浏览器环境中的问题 to be closed

Comments

@TaoZi6277
Copy link

NutUI 包名

@nutui/nutui

NutUI 版本号

4.2.8

平台

h5

重现链接

https://dev.epayservice.cn:19210/internetfuneralh5/cemetery/reservationFlowPath

重现步骤

进入项目选择完机构、位置后进入时间选择页面,可选择日期top、bottom插槽写有自定义内容,显示当天可预约数量,只有ios真机不显示,浏览器模拟器跟安卓机子可以正常显示;
ios机器截图
安卓机子截图

期望的结果是什么?

ios跟安卓都能正常展示插槽自定义内容

实际的结果是什么?

ios真机不展示插槽内容

环境信息

System:
OS: Windows 11 10.0.22000
CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1155G7 @ 2.50GHz
Memory: 3.12 GB / 15.79 GB
Binaries:
Node: 18.19.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.18 - ~\AppData\Roaming\npm\yarn.CMD
npm: 10.2.3 - C:\Program Files\nodejs\npm.CMD
pnpm: 7.6.0 - ~\AppData\Roaming\npm\pnpm.CMD
Browsers:
Edge: Spartan (44.22000.120.0), Chromium (123.0.2420.81)
Internet Explorer: 11.0.22000.120
npmPackages:
@nutui/nutui: 4.3.4 => 4.3.4

其他补充信息

image

@eiinu eiinu added reproducible 提供了可复现代码,或者已验证可复现 browser quirks 某些浏览器环境中的问题 labels Apr 7, 2024
@eiinu eiinu modified the milestone: v4.3.5 Apr 7, 2024
@eiinu eiinu removed the reproducible 提供了可复现代码,或者已验证可复现 label Apr 7, 2024
@eiinu
Copy link
Member

eiinu commented Apr 7, 2024

xxxx-xx-xx 在 Safari 中是不合法的,更换为 xxxx/xx/xx 即可

@TaoZi6277
Copy link
Author

image
@nutui_nutui.js?v=69f705f2:9050 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'curData')
at getCurrData (@nutui_nutui.js?v=69f705f2:9050:37)
at initData (@nutui_nutui.js?v=69f705f2:9175:18)
at @nutui_nutui.js?v=69f705f2:9394:7
at chunk-CFLHC4X7.js?v=69f705f2:4318:88
at callWithErrorHandling (chunk-CFLHC4X7.js?v=69f705f2:1650:18)
at callWithAsyncErrorHandling (chunk-CFLHC4X7.js?v=69f705f2:1658:17)
at hook.__weh.hook.__weh (chunk-CFLHC4X7.js?v=69f705f2:4298:19)
at flushPostFlushCbs (chunk-CFLHC4X7.js?v=69f705f2:1825:41)
at flushJobs (chunk-CFLHC4X7.js?v=69f705f2:1863:5)
修改判断时间格式之后,报错了

@TaoZi6277
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser quirks 某些浏览器环境中的问题 to be closed
Projects
None yet
Development

No branches or pull requests

2 participants