Commit 58b40ef8dc6ba4cbe5e58feb8c2afb2afeb9fb44

Authored by WXD-SEASON\season
2 parents a049ff96 38ae0aaf

Merge branch 'test' of http://git.vipzhuang.cn/wxd/MShopWeApp into qa

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
... ... @@ -92,6 +92,9 @@ Page({
92 92 if (item.ename == 'goodsGroup') {
93 93 arr.push(`goodsGroup${index}`)
94 94 }
  95 + if (item.ename == 'goodsGroupNew') {
  96 + arr.push(`goodsGroup${index}`)
  97 + }
95 98 })
96 99 if (arr.length > 0) {
97 100 this.setData({
... ...