想问大家从数据库中得到的数据\n不能换行,如何解决?

小程序 文章 2021-04-07 16:22 381 0 全屏看文

AI助手支持GPT4.0

想问大家从数据库中得到的数据n不能换行,如何解决?I would like to ask you how to solve the problem that the data you get from the databasencan't wrap?

想问大家从数据库中得到的数据n不能换行,如何解决?

想问大家从数据库中得到的数据n不能换行,如何解决

I want to ask you how to solve the problem that the data you get from the database can't wrap

回答:

brave:

用text标签不行?

天天:

用text标签包着就可以了

贩卖焦虑:

white-space: pre-line

卢霄霄:

怕是white-space没设对哦

-EOF-

AI助手支持GPT4.0