Skip to content

Commit 20bbf6c

Browse files
author
KAI
committed
fix: 修复了开发环境下,点击使用了GiTable菜单自动刷新页面的问题
1 parent e29cf88 commit 20bbf6c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vite.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ export default defineConfig(({ command, mode }) => {
2424
}
2525
}
2626
},
27+
// 添加需要vite优化的依赖
28+
optimizeDeps: {
29+
include: ['vue-draggable-plus']
30+
},
2731
server: {
2832
// 服务启动时是否自动打开浏览器
2933
open: true,

0 commit comments

Comments
 (0)