Commit e892006a authored by wangxuelai's avatar wangxuelai

Merge remote-tracking branch 'origin/sj-dev-v7' into wxl-develop

parents 006a2905 09c13661
......@@ -580,7 +580,6 @@ Page({
}
},
drawText(obj,ctx) {
// ctx.save();
ctx.setFillStyle(obj.color);
ctx.setFontSize(obj.size);
ctx.setTextAlign(obj.align);
......
......@@ -643,11 +643,12 @@ Page({
desc: '机构介绍',
}, ];
}else{
this.schoolInfoGet()
this.setData({
websitehomeEmpty:true,
bannerEmpty: data.banner ? false :true
bannerEmpty: data && data.banner ? false : true
})
this.schoolInfoGet()
}
this.setData({
schoolInfo: data ? data : '',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment