修复打包错误
parent
ff50304808
commit
ff2efbd604
|
@ -47,7 +47,7 @@
|
||||||
|
|
||||||
<div class="main-table common-box">
|
<div class="main-table common-box">
|
||||||
<div class="tab-hed">
|
<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" />
|
<el-option label="成品" value="shanghai" />
|
||||||
<el-option label="成品非追溯" value="shanghai" />
|
<el-option label="成品非追溯" value="shanghai" />
|
||||||
|
|
|
@ -63,7 +63,6 @@
|
||||||
<script lang="ts" setup name="databaseVisual">
|
<script lang="ts" setup name="databaseVisual">
|
||||||
import { onMounted, reactive, ref } from 'vue';
|
import { onMounted, reactive, ref } from 'vue';
|
||||||
import { useRoute } from 'vue-router';
|
import { useRoute } from 'vue-router';
|
||||||
|
|
||||||
import RelationGraph from 'relation-graph/vue3';
|
import RelationGraph from 'relation-graph/vue3';
|
||||||
import type { RGOptions, RGNode, RGLine, RGLink, RGUserEvent, RGJsonData, RelationGraphComponent } from 'relation-graph/vue3';
|
import type { RGOptions, RGNode, RGLine, RGLink, RGUserEvent, RGJsonData, RelationGraphComponent } from 'relation-graph/vue3';
|
||||||
|
|
||||||
|
|
|
@ -75,6 +75,7 @@ const viteConfig = defineConfig((mode: ConfigEnv) => {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
|
external: ['relation-graph/vue3'],
|
||||||
output: {
|
output: {
|
||||||
chunkFileNames: 'assets/js/[name]-[hash].js',
|
chunkFileNames: 'assets/js/[name]-[hash].js',
|
||||||
entryFileNames: 'assets/js/[name]-[hash].js',
|
entryFileNames: 'assets/js/[name]-[hash].js',
|
||||||
|
|
Loading…
Reference in New Issue