It is necessary to click page A to get the warehouse location, jump to page B to change the title of the navigation bar of page B
accomplish:
onLoad(op) {
// 动态更改标题
console.log(op.number);
uni.setNavigationBarTitle({
title:op.number
})
},
//这个能修改 上面那个不一定能修改成功
onReady() {
//修理厂名称
uni.setNavigationBarTitle({
title: this.xiuname
})
},