判读是不是空的

This commit is contained in:
2020-09-05 12:10:59 +08:00
parent df1d1e78b4
commit a3adc35372

View File

@@ -158,6 +158,9 @@
methods: {
setTitle(title){
let that = this
if(title == ""){
title = "这是空的"
}
uni.setNavigationBarTitle({
title : title,
fail(){