Authored by xuhongyun

build

... ... @@ -1961,6 +1961,8 @@ webpackJsonp([152],[
return;
}
item = +item;
// 最多只能8个SKN
if(skns.length >= 8) {
return;
... ... @@ -1979,7 +1981,7 @@ webpackJsonp([152],[
if(sknList.length === 0) {
if(jsonMain.resources.defaultHotProducts) {
jsonMain.resources.defaultHotProducts.data = '';
jsonMain.resources.defaultHotProducts.data = [];
}
return;
}
... ... @@ -2000,7 +2002,7 @@ webpackJsonp([152],[
if(hotProductResource === undefined) {
hotProductResource = {};
}
hotProductResource.data = sknList;
hotProductResource.data = skns;
jsonMain.resources.defaultHotProducts = hotProductResource;
}
}
... ...
... ... @@ -85,7 +85,7 @@
<label class="col-sm-2">推荐商品(以英文逗号分隔,最多8): </label>
<div class="col-sm-10">
<input type="text" class="form-control model-default-hotproduct" placeholder="请输入推荐商品,以英文逗号分隔,最多8个SKN"
value="[[resources.defaultHotProducts ? resources.defaultHotProducts.data : '']]" maxlength="90">
value="[[resources.defaultHotProducts && resources.defaultHotProducts.data ? resources.defaultHotProducts.data.toString() : '']]" maxlength="90">
</div>
</div>
<div class="model-main-right-default"></div>
... ...