소스 검색

品牌接口添加启用参数

wangzhuo 1 년 전
부모
커밋
e268cb20cc
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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 = {