diff --git a/src/components/EllipsisText/src/Tooltip.vue b/src/components/EllipsisText/src/Tooltip.vue index 01d8ad58..02add878 100644 --- a/src/components/EllipsisText/src/Tooltip.vue +++ b/src/components/EllipsisText/src/Tooltip.vue @@ -121,6 +121,7 @@ pointer-events: none; &::before { + content: ''; // 解决提示框箭头颜色未生效问题 position: absolute; bottom: 0; inset-inline-start: 0; diff --git a/vite.config.ts b/vite.config.ts index 428256de..c72d4234 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -31,6 +31,7 @@ export default defineApplicationConfig({ rewrite: (path) => path.replace(new RegExp(`^/upload`), ''), }, }, + open: true, // 项目启动后,自动打开 warmup: { clientFiles: ['./index.html', './src/{views,components}/*'], },