Commit fb5948ab authored by zhengke's avatar zhengke

修改

parent 07d2d447
......@@ -505,7 +505,7 @@
</div>
<el-row>
<el-col :span="242">
<UE style="width:750px;" :defaultMsg="defaultMsg" :config="config" :IsMultiple="true" ref="ue"></UE>
<UE style="width:770px;" :defaultMsg="defaultMsg" :config="config" :IsMultiple="true" ref="ue"></UE>
</el-col>
</el-row>
</el-card>
......@@ -942,6 +942,7 @@
},
data() {
return {
dataContent:'',
ComTreeList: [],
thisType: 0,
tableData: [],
......@@ -1872,7 +1873,8 @@
};
this.disList1.push(objNew);
if (this.addMsg.GoodsDetails && this.addMsg.GoodsDetails != "") {
this.$refs.ue.SetVal(this.addMsg.GoodsDetails);
// this.$refs.ue.SetVal(this.addMsg.GoodsDetails);
this.defaultMsg=this.addMsg.GoodsDetails;
}
this.NewCategoryList = [];
this.addMsg.CategoryList.forEach(item => {
......
......@@ -297,7 +297,7 @@
if (res.data.resultCode == 1) {
this.addMsg = res.data.data;
this.addMsg.MallBaseId = this.getLocalStorage().MallBaseId;
this.$refs.ue.SetVal(this.addMsg.MemberSpecification);
this.defaultMsg=this.addMsg.MemberSpecification;
}
})
......
......@@ -42,7 +42,9 @@
watch: {
defaultMsg(newVal, oldVal) {
if (!this.isInputChange && newVal) {
if (this.editor && this.editor.isReady === 1) {} else {
if (this.editor && this.editor.isReady === 1) {
this.editor.setContent(newVal);
} else {
this.tempContent = newVal;
}
}
......@@ -52,9 +54,6 @@
},
},
methods: {
SetVal(val) {
this.editor.setContent(val);
},
InitData() {
},
......
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