浏览代码

feat: fix ellipsis bug (#3644)

Mr.Dear 1 年之前
父节点
当前提交
9372f1d159
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      src/components/EllipsisText/src/Tooltip.vue
  2. 1 0
      vite.config.ts

+ 1 - 0
src/components/EllipsisText/src/Tooltip.vue

@@ -121,6 +121,7 @@
         pointer-events: none;
 
         &::before {
+          content: ''; // 解决提示框箭头颜色未生效问题
           position: absolute;
           bottom: 0;
           inset-inline-start: 0;

+ 1 - 0
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}/*'],
       },