Commit 38ae0aaf44424fc2aacd665a7ddaf96eca59659b
1 parent
72ba7fd5
新版商品分组组件自动加载优化
Showing
2 changed files
with
7 additions
and
1 deletions
pages/index/index/index.js
... | ... | @@ -389,7 +389,7 @@ Page({ |
389 | 389 | console.log('....................'); |
390 | 390 | }, |
391 | 391 | |
392 | - //获取商品模块实例 | |
392 | + //获取商品模块实例 | |
393 | 393 | newGoodsGroup() { |
394 | 394 | let arr = [] |
395 | 395 | if (this.data.template_arr.length == 0) { |
... | ... | @@ -399,6 +399,9 @@ Page({ |
399 | 399 | if (item.ename == 'goodsGroup') { |
400 | 400 | arr.push(`goodsGroup${index}`) |
401 | 401 | } |
402 | + if (item.ename == 'goodsGroupNew') { | |
403 | + arr.push(`goodsGroup${index}`) | |
404 | + } | |
402 | 405 | }) |
403 | 406 | if (arr.length > 0) { |
404 | 407 | this.setData({ | ... | ... |
pages/template/index.js