Explorar o código

品牌接口添加启用参数

wangzhuo hai 1 ano
pai
achega
e268cb20cc
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      pages/tabBar/classification.vue
  2. 1 1
      pages/tabBar/home.vue

+ 1 - 1
pages/tabBar/classification.vue

@@ -74,7 +74,7 @@
 			}
 		},
 		onShow() {
-			listAll({type:'PP'}).then(res => {
+			listAll({type:'PP', enableOrNot:'1'}).then(res => {
 				this.tabbarTwo = res.data
 				this.page = {
 					total: 0,

+ 1 - 1
pages/tabBar/home.vue

@@ -209,7 +209,7 @@
 					})
 				})
 				//获取所有品牌
-				listAll({type:'PP'}).then(res => {
+				listAll({type:'PP', enableOrNot:'1'}).then(res => {
 					this.brandList = res.data
 				})
 				this.page = {