广告图优化
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
<div>
|
||||
<div class="title">{{menuDetail.menuName}}</div>
|
||||
<avue-crud
|
||||
v-if="menuDetail && menuDetail.menuName"
|
||||
:option="option"
|
||||
:table-loading="loading"
|
||||
:data="data"
|
||||
@@ -205,6 +204,9 @@ export default {
|
||||
drawerTitle: ''
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.bannerInit()
|
||||
},
|
||||
methods: {
|
||||
isURL,
|
||||
openUrl (row) {
|
||||
@@ -337,7 +339,7 @@ export default {
|
||||
this.loading = true;
|
||||
var menuId = this.recommend.menuDetail.menuId
|
||||
getCarouselList(
|
||||
5,
|
||||
1,
|
||||
menuId,
|
||||
).then((res) => {
|
||||
this.data = res.data.data;
|
||||
@@ -347,7 +349,8 @@ export default {
|
||||
bannerInit (){
|
||||
this.data = []
|
||||
this.loading = true;
|
||||
var type = this.envType()
|
||||
// var type = this.envType()
|
||||
var type = 1;
|
||||
getCarouselList(
|
||||
type,
|
||||
).then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user