Commit 2f36d8cf7d0c147f5c172aca625462ac382498d4

Authored by 王强
1 parent ea05f865

工会商品列表页面:没有nav时,不设置this.backs.title参数,因为不催在,会报错~

src/pages/labourUnion/labourUnion.vue
@@ -306,8 +306,12 @@ @@ -306,8 +306,12 @@
306 // 设置标题 306 // 设置标题
307 this.$set(this, 'title', datas.title); 307 this.$set(this, 'title', datas.title);
308 308
309 - // 设置nav标题  
310 - this.$set(this.backs, 'title', this.title); 309 + // 判断是否在App内
  310 + if (this.isCNLive.value) {
  311 +
  312 + // 设置nav标题
  313 + this.$set(this.backs, 'title', this.title);
  314 + }
311 315
312 // 设置工会Banner图片 316 // 设置工会Banner图片
313 if (datas.banner) { 317 if (datas.banner) {