判读是不是空的
This commit is contained in:
parent
df1d1e78b4
commit
a3adc35372
@ -158,6 +158,9 @@
|
|||||||
methods: {
|
methods: {
|
||||||
setTitle(title){
|
setTitle(title){
|
||||||
let that = this
|
let that = this
|
||||||
|
if(title == ""){
|
||||||
|
title = "这是空的"
|
||||||
|
}
|
||||||
uni.setNavigationBarTitle({
|
uni.setNavigationBarTitle({
|
||||||
title : title,
|
title : title,
|
||||||
fail(){
|
fail(){
|
||||||
|
Loading…
Reference in New Issue
Block a user