master
lion 1 year ago
parent f97d2636bc
commit af6c22cdd6

@ -17,7 +17,7 @@
@confirm="confirm" @confirm="confirm"
> >
<template> <template>
<my-tinymce v-model="myText" style="height: 100%;" :disabled="readonly" /> <my-tinymce v-if="showModal" v-model="myText" style="height: 100%;" :disabled="readonly" />
</template> </template>
</vxe-modal> </vxe-modal>
</div> </div>
@ -49,6 +49,7 @@ export default {
}, },
methods: { methods: {
open({ text, readonly, row, fieldName }) { open({ text, readonly, row, fieldName }) {
console.log("text",text)
this.showModal = true this.showModal = true
this.$nextTick(() => { this.$nextTick(() => {
this.myText = text this.myText = text

Loading…
Cancel
Save