Procházet zdrojové kódy

商品列表修改

hwb0 před 3 roky
rodič
revize
496b6ec32b
2 změnil soubory, kde provedl 1 přidání a 2 odebrání
  1. 1 1
      packageGoods/goods/list.vue
  2. 0 1
      pages/index/index.vue

+ 1 - 1
packageGoods/goods/list.vue

@@ -81,7 +81,7 @@
 			if(opthios.name) {
 				this.name = opthios.name
 				this.tagIds = opthios.tagIds
-				this.categoryId = opthios.categoryId
+				this.categoryId = Number(opthios.categoryId)
 			}
 		},
 		

+ 0 - 1
pages/index/index.vue

@@ -258,7 +258,6 @@
 					this.filterActivityList = data.filter(item=> {
 						return JSON.parse(item.status).value == 3
 					})
-					console.log(this.filterActivityList);
 					let activityInfo = this.filterActivityList.length ? this.filterActivityList[0] : {}
 					let timestamp = parseInt(new Date().getTime())
 					this.activityTime = activityInfo.endTime - timestamp