kun 19 1112 18:14
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user