版本号升级到2.2.7,富文本组件取消懒加载,改为正常加载。

master
vdpAdmin 2022-05-13 09:33:41 +08:00
parent 7d3d81dc41
commit 736e58a0f6
3 changed files with 10 additions and 9 deletions

View File

@ -1,6 +1,6 @@
{
"name": "variant-form",
"version": "2.2.6",
"version": "2.2.7",
"private": false,
"scripts": {
"serve": "vue-cli-service serve --open src/main.js",

View File

@ -12,10 +12,11 @@
<script>
import FormItemWrapper from './form-item-wrapper'
import {VueEditor} from 'vue2-editor'
import emitter from '@/utils/emitter'
import i18n, {translate} from "@/utils/i18n";
import {deepClone} from "@/utils/util";
import fieldMixin from "@/components/form-designer/form-widget/field-widget/fieldMixin";
import i18n, {translate} from "@/utils/i18n"
import {deepClone} from "@/utils/util"
import fieldMixin from "@/components/form-designer/form-widget/field-widget/fieldMixin"
export default {
name: "rich-editor-widget",
@ -49,10 +50,10 @@
},
components: {
FormItemWrapper,
VueEditor: resolve => { //
require(['vue2-editor'], ({VueEditor}) => resolve(VueEditor))
}
VueEditor
// VueEditor: resolve => { //
// require(['vue2-editor'], ({VueEditor}) => resolve(VueEditor))
// }
},
inject: ['refList', 'formConfig', 'globalOptionData', 'globalModel'],
data() {

View File

@ -1,4 +1,4 @@
export const VARIANT_FORM_VERSION = '2.2.6'
export const VARIANT_FORM_VERSION = '2.2.7'
//export const MOCK_CASE_URL = 'https://www.fastmock.site/mock/2de212e0dc4b8e0885fea44ab9f2e1d0/vform/'
export const MOCK_CASE_URL = 'https://ks3-cn-beijing.ksyuncs.com/vform-static/vcase/'