mirror of
https://github.com/vform666/variant-form3-vite.git
synced 2024-11-10 09:39:20 +08:00
修复axios报错。
This commit is contained in:
parent
9cfb9e95c9
commit
3fc5f9f24f
3489
package-lock.json
generated
3489
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -10,10 +10,11 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vueup/vue-quill": "^1.0.0-beta.7",
|
||||
"axios": "^0.24.0",
|
||||
"clipboard": "^2.0.8",
|
||||
"core-js": "^3.6.5",
|
||||
"element-plus": "^1.2.0-beta.5",
|
||||
"element-plus": "^1.3.0-beta.3",
|
||||
"file-saver": "^2.0.5",
|
||||
"mitt": "^3.0.0",
|
||||
"sortablejs": "1.14.0",
|
||||
|
@ -17,6 +17,7 @@
|
||||
@blur="handleRichEditorBlurEvent"
|
||||
@focus="handleRichEditorFocusEvent"
|
||||
@change="handleRichEditorChangeEvent"
|
||||
style="height: 200px;"
|
||||
/>
|
||||
|
||||
</form-item-wrapper>
|
||||
@ -29,7 +30,12 @@
|
||||
import {deepClone} from "@/utils/util";
|
||||
import fieldMixin from "@/components/form-designer/form-widget/field-widget/fieldMixin";
|
||||
|
||||
import { Quill, quillEditor } from 'vue3-quill'
|
||||
//import { Quill, quillEditor } from 'vue3-quill'
|
||||
//const modules = import.meta.glob('../../../../../node_modules/vue3-quill/src/index.js')
|
||||
//console.log('test=====', modules)
|
||||
|
||||
import { QuillEditor } from '@vueup/vue-quill'
|
||||
import '@vueup/vue-quill/dist/vue-quill.snow.css'
|
||||
|
||||
export default {
|
||||
name: "rich-editor-widget",
|
||||
@ -67,7 +73,9 @@
|
||||
// VueEditor: resolve => { //懒加载!!
|
||||
// require(['vue2-editor'], ({VueEditor}) => resolve(VueEditor))
|
||||
// }
|
||||
quillEditor,
|
||||
//quillEditor,
|
||||
|
||||
QuillEditor,
|
||||
},
|
||||
inject: ['refList', 'formConfig', 'globalOptionData', 'globalModel'],
|
||||
data() {
|
||||
|
@ -71,6 +71,7 @@
|
||||
import {addWindowResizeHandler, deepClone, getQueryParam} from "@/utils/util"
|
||||
import {MOCK_CASE_URL, VARIANT_FORM_VERSION} from "@/utils/config"
|
||||
import i18n, { changeLocale } from "@/utils/i18n"
|
||||
import axios from "axios"
|
||||
|
||||
export default {
|
||||
name: "VFormDesigner",
|
||||
|
Loading…
Reference in New Issue
Block a user