版本号升级到2.2.7,富文本组件取消懒加载,改为正常加载。
parent
7d3d81dc41
commit
736e58a0f6
|
@ -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",
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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/'
|
||||
|
|
Loading…
Reference in New Issue