wx.showModal 弹窗中有中午数字字母时自动换行?

小程序 文章 2022-02-07 10:40 1153 0 全屏看文

AI助手支持GPT4.0

wx.showModal 弹窗中有中午数字字母时自动换行?wx.showModal automatically wraps the line when there are noon numbers and letters in the pop-up window?

wx.showModal 弹窗中有中午数字字母时自动换行?

之前在view中也有这个问题,但可以通过word-break:break-all来修正(不换行),然而现在wx.showModal中样式貌似修改不了样式了。求解!!!: break-all;

There was this problem in the view before, but it can be corrected through word break: break all (no line break), but now Wx It seems that the style in showmodal cannot be modified. Solve!!!: break-all;

回答:

|G.XIAO|:

自己实现一个,非常简单。

另外 Modal 也不应该放那么多信息

小黎:

自己写个组件

微喵网络:

没办法,只能自己模拟一个弹窗

-EOF-

AI助手支持GPT4.0