广告图优化
This commit is contained in:
@@ -65,11 +65,7 @@
|
||||
{
|
||||
name: '轮播图',
|
||||
select: true
|
||||
},
|
||||
// {
|
||||
// name: '侧边栏',
|
||||
// select: true
|
||||
// },
|
||||
}
|
||||
|
||||
],
|
||||
menuList: [
|
||||
@@ -85,6 +81,9 @@
|
||||
menuDetail: {}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.$refs.advertisementBody.bannerInit()
|
||||
},
|
||||
methods: {
|
||||
titleActive (item) {
|
||||
if(item.select)return
|
||||
@@ -98,6 +97,7 @@
|
||||
this.menuDetail = JSON.parse(JSON.stringify(item))
|
||||
if (this.titleList[0].select) {
|
||||
this.$refs.advertisementBody.onLoad()
|
||||
// this.$refs.advertisementBody.bannerInit()
|
||||
} else if (this.titleList[1].select) {
|
||||
this.$refs.advertisementBody.bannerInit()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user