Преглед изворни кода

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