...
|
...
|
@@ -81,9 +81,9 @@ |
|
|
<div class="create-item-title">商品描述
|
|
|
<span class="create-group-sub-title">(详情页内容)</span>
|
|
|
</div>
|
|
|
<editor-safe :content="product.productIntro"
|
|
|
<editor :content="product.productIntro"
|
|
|
@change="updateProductDesc"
|
|
|
:z-index="2"></editor-safe>
|
|
|
:z-index="2"></editor>
|
|
|
<div class="create-item-title">商品属性
|
|
|
<span class="create-group-sub-title">(请认真选择所列的属性项,所填内容会对商品搜索、智能推荐等功能产生影响,从而影响商品曝光展示)</span>
|
|
|
</div>
|
...
|
...
|
@@ -120,7 +120,7 @@ |
|
|
</template>
|
|
|
<script>
|
|
|
import _ from 'lodash';
|
|
|
|
|
|
import xss from 'xss';
|
|
|
import ProductCreateService from 'services/product/product-create-service';
|
|
|
import ProductService from 'services/product/product-service';
|
|
|
import {edit} from './store';
|
...
|
...
|
@@ -496,7 +496,7 @@ export default { |
|
|
newProduct.attributeProValuesTwo =
|
|
|
JSON.stringify(this.productCreateService.handleValue(this.product.productSkn, this.model.attributeProValuesTwo));
|
|
|
newProduct.productMaterial = this.product.materialList.map(s => s.id).join(',');
|
|
|
newProduct.productIntro = this.product.productIntro;
|
|
|
newProduct.productIntro = xss(this.product.productIntro);
|
|
|
|
|
|
return newProduct;
|
|
|
},
|
...
|
...
|
|