Commit a588dbb9 authored by zhangjianguo's avatar zhangjianguo

插件更改

parent 94029324
......@@ -261,7 +261,7 @@ import goodsaction from "./components/goodsaction";
import goodsku from "@/components/goods/goodsku";
import auth from "@/components/auth/index";
import share from "./components/share/share";
import hParse from "./components/u-parse/parse.vue";
import hParse from "@/components/u-parse/parse.vue";
export default {
data() {
return {
......@@ -439,10 +439,10 @@ export default {
}
var richtext = this.g.detail;
// richtext = richtext.replace(
// /<img/g,
// '<img style="margin-top:-4px;"'
// );
richtext = richtext.replace(
/<img/g,
'< img style="margin-top:-4px;width:100%"'
);
this.detailContent = richtext;
this.loading = false;
this.initComments();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment