修复打包错误

main
key 2024-03-28 16:43:51 +08:00
parent ff50304808
commit ff2efbd604
3 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@
<div class="main-table common-box">
<div class="tab-hed">
<el-select v-model="formInline.region" placeholder="分类" clearable>
<el-select v-model="formInline.region" placeholder="分类" clearable style="width: 200px;">
<el-option label="所有" value="shanghai" />
<el-option label="成品" value="shanghai" />
<el-option label="成品非追溯" value="shanghai" />

View File

@ -63,7 +63,6 @@
<script lang="ts" setup name="databaseVisual">
import { onMounted, reactive, ref } from 'vue';
import { useRoute } from 'vue-router';
import RelationGraph from 'relation-graph/vue3';
import type { RGOptions, RGNode, RGLine, RGLink, RGUserEvent, RGJsonData, RelationGraphComponent } from 'relation-graph/vue3';

View File

@ -75,6 +75,7 @@ const viteConfig = defineConfig((mode: ConfigEnv) => {
},
},
rollupOptions: {
external: ['relation-graph/vue3'],
output: {
chunkFileNames: 'assets/js/[name]-[hash].js',
entryFileNames: 'assets/js/[name]-[hash].js',