<!-- 添加或编辑的弹窗开始 -->
<vk-data-dialog
v-model="form1.props.show"
:title="form1.props.title"
width="500px"
mode="form"
:fullscreen="true"
:close-on-click-modal="false"
>
<vk-data-form
v-model="form1.data"
:rules="form1.props.rules"
:action="form1.props.action"
:form-type="form1.props.formType"
:columns='form1.props.columns'
label-width="150px"
@success="form1.props.show = false;refresh();"
>
<template v-slot:content="{ form, keyName }">
<view v-if="form1.props.show">
<Tinymce ref="editor" v-model="form.content" :width="860" :height="400"></Tinymce>
</view>
</template>
</vk-data-form>
</vk-data-dialog>
import Tinymce from "@/components/Tinymce"