Browse Source

fix: 修复品牌选择器逻辑并更新环境配置

修复品牌选择器中品牌列表过滤逻辑错误,现在正确显示所有品牌
将环境配置从'prod2'更新为'prod'
master
前端-胡立永 1 week ago
parent
commit
1451de603c
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      compoent/recycle/brand-selector.vue
  2. +1
    -1
      config.js

+ 1
- 1
compoent/recycle/brand-selector.vue View File

@ -243,7 +243,7 @@ export default {
// //
this.hotBrandList = allBrands.filter(brand => brand.hot == 1) this.hotBrandList = allBrands.filter(brand => brand.hot == 1)
this.brandList = allBrands.filter(brand => brand.hot != 1)
this.brandList = allBrands
} }
}) })
}, },


+ 1
- 1
config.js View File

@ -1,5 +1,5 @@
// config.js // config.js
const type = 'prod2'
const type = 'prod'
const config = { const config = {
local: { local: {


Loading…
Cancel
Save