Browse Source

bug--修复banner背景颜色取错字段

master
taozi 4 years ago
parent
commit
9289c1cb67
  1. 2
      pages/home/components/Banner.vue

2
pages/home/components/Banner.vue

@ -40,7 +40,7 @@
// //
let item = this.detail[this.swiperCurrent]; let item = this.detail[this.swiperCurrent];
// //
let bgcolor = item.bgcolor; let bgcolor = item.color;
// //
if (bgcolor === '') { if (bgcolor === '') {
that.$set(item, 'bgcolor', '#c40414'); that.$set(item, 'bgcolor', '#c40414');

Loading…
Cancel
Save