kun 19 1112 18:14

This commit is contained in:
沈学坤
2019-11-12 18:14:10 +08:00
parent ef39693c10
commit 1929087e9c
2 changed files with 8 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ var phoneEditor, _this
export default {
components: {},
props: {
initialText: {
initialTextVal: {
type: String,
required: false
}
@@ -18,7 +18,7 @@ export default {
data () {
return {}
},
created () { },
created () {},
mounted () {
_this = this
phoneEditor = new E('websiteEditorElem')
@@ -32,15 +32,15 @@ export default {
methods: {},
computed: {},
watch: {
initialText (val) {
initialTextVal (val) {
// console.log(val)
phoneEditor.$txt.html(_this.initialText)
phoneEditor.$txt.html(_this.initialTextVal)
}
}
}
</script>
<style lang='scss' scoped>
<style lang="scss" scoped>
#websiteEditorElem {
width: 100%;
height: 250px;

View File

@@ -549,7 +549,7 @@
<div id="rich">
<rich-text-one
@quillVal="quillVal"
:initialText="initialText"
:initialTextVal="initialTextVal"
></rich-text-one>
</div>
</div>
@@ -633,6 +633,7 @@ export default {
index_num: 2,
sub: 0,
bgData: null,
initialTextVal: "",
initialText: "",
thff: false,
imgUrl: {
@@ -1080,6 +1081,7 @@ export default {
this.prodemofg = data.prodemofg;
this.prodemotwo = data.prodemotwo;
this.prodemojc = data.prodemojc;
this.initialTextVal = data.funds;
this.initialText = data.funds;
let imgs = JSON.parse(data.proimages);