How to set title in react-based ant design mobile

if you need to use ant design mobile as a mobile Wechat web page, you can access all pages through a app.js . How to set up title for each page?

is the font in this frame adaptive? If I set myself to px , is it still adaptive? And do you use px when you need to write size?

Mar.01,2021

ant design mobile has a NavBar component. You can set title directly

introduce

import { NavBar } from 'antd-mobile'

use

<NavBar mode='dard'>{title}</NavBar>

if you set the browser tag, set

from the life cycle.


MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1beaf4e-31a28.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1beaf4e-31a28.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?