Skip to main content
Version: 1.x

Taro.setTopBarText(OBJECT)

使用方式同 wx.setTopBarText,支持 Promise 化使用。

示例代码

import Taro from '@tarojs/taro'

Taro.setTopBarText(params).then(...)

API支持度

API微信小程序H5React Native
Taro.setTopBarText✔️