提交 8a510517 authored 作者: huaxinzhu's avatar huaxinzhu

移除,在云仓对商品的编辑才增加默认春节图片

上级 d23ced65
...@@ -18,7 +18,6 @@ export default { ...@@ -18,7 +18,6 @@ export default {
return { return {
allImg: [], allImg: [],
editor: null, editor: null,
defalutImg: require("@/assets/image/spring-festival-stbz.png")
}; };
}, },
mounted() { mounted() {
...@@ -75,10 +74,10 @@ export default { ...@@ -75,10 +74,10 @@ export default {
this.editor.txt.html(this.description); this.editor.txt.html(this.description);
} }
// 增加默认图片 // // 增加默认图片
if (this.description.indexOf("default-Spring-Festival-stbz") == -1 ) { // if (this.description.indexOf("default-Spring-Festival-stbz") == -1 ) {
this.editor.txt.html('<p><img id="default-Spring-Festival-stbz" style="width:100%" src="/images/spring-festival-stbz.png" /></p>' +this.description); // this.editor.txt.html('<p><img id="default-Spring-Festival-stbz" style="width:100%" src="/images/spring-festival-stbz.png" /></p>' +this.description);
} // }
}, },
methods: { methods: {
initInfo() { initInfo() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论