1.換行問題
在微信小程序中,原生不支持'<br/>'換行操作,使用‘\n’替換即可實(shí)現(xiàn)換行。例如在小程序中使用Echarts,formatter數(shù)據(jù)展示時(shí),即可使用這種方式。
formatter: ' \n {c} '
在微信小程序中,原生不支持'<br/>'換行操作,使用‘\n’替換即可實(shí)現(xiàn)換行。例如在小程序中使用Echarts,formatter數(shù)據(jù)展示時(shí),即可使用這種方式。
formatter: ' \n {c} '