Просмотр исходного кода

修复 table/search.vue 右侧的查询按钮有时可能会错位

夜鹰 8 месяцев назад
Родитель
Сommit
5c3631141c
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      Web/src/components/table/search.vue
  2. 1 1
      Web/src/main.ts

+ 1 - 0
Web/src/components/table/search.vue

@@ -238,6 +238,7 @@ const shortcuts = [
 
 .table-search-btn {
     width: 184px;
+    flex-shrink: 0;
 
     // 右侧查询重置按钮随展开垂直居中
     // .el-form--inline {

+ 1 - 1
Web/src/main.ts

@@ -6,7 +6,7 @@ import { directive } from '/@/directive/index';
 import { i18n } from '/@/i18n/index';
 import other from '/@/utils/other';
 import ElementPlus from 'element-plus';
-import { ElTooltip, ElTable } from 'element-plus'
+import { ElTooltip } from 'element-plus'
 import '/@/theme/index.scss';
 // 动画库
 import 'animate.css';