master
lion 1 year ago
parent f97d2636bc
commit af6c22cdd6

@ -17,7 +17,7 @@
@confirm="confirm"
>
<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>
</vxe-modal>
</div>
@ -49,6 +49,7 @@ export default {
},
methods: {
open({ text, readonly, row, fieldName }) {
console.log("text",text)
this.showModal = true
this.$nextTick(() => {
this.myText = text

Loading…
Cancel
Save