Authored by 毕凯

Merge branch 'hotfix/replace' into 'gray'

replace



See merge request !1282
... ... @@ -161,13 +161,13 @@ class ProductDetail extends global.yoho.BaseModel {
}
if (_.get(result, '[1]')) {
result[1] = result[1].replace(/http:/g, `${params.protocol}:`);
result[1] = _.toString(result[1]).replace(/http:/g, `${params.protocol}:`);
resu.intro = mipUtils.process(result[1]).mipHtml;
localCss.push(mipUtils.process(result[1]).css);
}
if (_.get(result, '[2]')) {
result[2] = result[2].replace(/http:/g, `${params.protocol}:`);
result[2] = _.toString(result[2]).replace(/http:/g, `${params.protocol}:`);
// 处理a标签
let option = {
... ...