uniapp动态更改页面标题

uni.setNavigationBarTitle({
title:'标题2'
})

原文地址:https://www.cnblogs.com/songjuntao/p/15685123.html