离子成分以黑色背景显示
(离子5) 我不太确定发生了什么,我正在三星 A50(Android 11,截至 2021 年 12 月 1 日的安全补丁)上测试使用 --prod 编译的测试应用程序,它工作正常,当我运行时突然一天后,离子输入、警报等组件出现黑色背景,这种情况发生在某个时刻,手机没有被触摸,它具有与往常相同的模式,我重新编译了应用程序,我不t知道会发生什么。
此外,另一个先前编译的应用程序现在具有相同的行为,黑色组件背景。
非常感谢
(Ionic 5)
I'm not quite sure what's going on, I'm testing a test app compiled with --prod on a Samsung A50 (Android 11, security patch as of 12/01/2021), it works fine, and suddenly when I run it a day later , the ion-input, alert, etc. components appear with a black background, this happened at some point, the cell phone was not touched, it has the same mode as always, I recompiled the app, I don't know what happens.
Besides, another previously compiled app NOW has the same behavior, black component background.
Thank you very much
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我的小米 10 也遇到了同样的问题,它似乎处于黑暗/夜间模式。我所做的是删除/注释主题文件夹下的variables.scss上的.md body{}类
,并将其更改
为
公共index.html
I had this same problem with my Xiaomi 10 where it seems to be on dark/night mode. What I did was remove/comment the .md body{} class on variables.scss under theme folder
and changed
into
in public index.html