From 9372f1d159bb3236810e469defe6986b924d2264 Mon Sep 17 00:00:00 2001 From: "Mr.Dear" <46012811+themusecatcher@users.noreply.github.com> Date: Tue, 5 Mar 2024 13:05:26 +0800 Subject: [PATCH] feat: fix ellipsis bug (#3644) --- src/components/EllipsisText/src/Tooltip.vue | 1 + vite.config.ts | 1 + 2 files changed, 2 insertions(+) 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}/*'], },