摘要:
问题:浏览器刚进来的时候,页面不能解析正确的语言解决:useEffect(() => { if(!window.localStorage.getItem("umi_locale")){ //关键 setLocale('en-US', false);//关键 } let language = navi 阅读全文
posted @ 2022-02-18 15:53
fanly_hh
阅读(411)
评论(0)
推荐(0)
摘要:
<style> @font-face { font-family: 'Roboto'; font-style: normal; font-weight: 300; font-display: swap; src: url('./fonts/Roboto-Light.ttf'); } @font-fa 阅读全文
posted @ 2022-02-18 15:13
fanly_hh
阅读(180)
评论(0)
推荐(0)
摘要:
css设置:white-space:pre-line 文字中设置:"文字\n微博" 阅读全文
posted @ 2022-02-18 14:34
fanly_hh
阅读(81)
评论(0)
推荐(0)

浙公网安备 33010602011771号