diff --git a/package.json b/package.json index 2afa267..af8f99b 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,8 @@ }, "devDependencies": { "@vitejs/plugin-vue": "^5.1.4", + "unplugin-auto-import": "^0.18.5", + "unplugin-vue-components": "^0.27.4", "vite": "^5.4.10" } } diff --git a/src/App.vue b/src/App.vue index 157bb9a..0b97b10 100644 --- a/src/App.vue +++ b/src/App.vue @@ -7,7 +7,7 @@ import '@logicflow/extension/lib/style/index.css' import "@logicflow/core/lib/style/index.css"; import X2JS from "x2js"; import {ElMessage} from "element-plus"; -import { saveAs } from 'file-saver'; +import {saveAs} from 'file-saver'; import vkbeautify from 'vkbeautify'; const upload = ref(null); @@ -395,8 +395,8 @@ const handleUploadRemove = () => {