判读是不是空的

This commit is contained in:
luyuan 2020-09-05 12:10:59 +08:00
parent df1d1e78b4
commit a3adc35372
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

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