@lx-frontend/wrap-element-ui 1.0.12 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lx-frontend/wrap-element-ui",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "wrap-element-ui",
5
5
  "author": "",
6
6
  "main": "src/components/index.ts",
@@ -9,7 +9,7 @@
9
9
  slot="reference"
10
10
  class="editable-table-operation-popover__operation-reference btn-pointer"
11
11
  >
12
- <el-button :class="['editable-table-operation-popover__operation-btn', hoveringCellInfo.rowIndex === scope.$index && 'editable-table-operation-popover__operation-btn--active']">
12
+ <el-button class="editable-table-operation-popover__operation-btn">
13
13
  操作
14
14
  </el-button>
15
15
  </div>
@@ -46,10 +46,10 @@ import { IDefaultOperationType } from '../types';
46
46
 
47
47
  defineProps<{
48
48
  defaultOperations: IDefaultOperationType[]
49
- hoveringCellInfo: {
50
- rowIndex: number
51
- columnProperty: string
52
- }
49
+ // hoveringCellInfo: {
50
+ // rowIndex: number
51
+ // columnProperty: string
52
+ // }
53
53
  scope: any
54
54
  }>()
55
55
 
@@ -412,12 +412,13 @@
412
412
 
413
413
  .el-radio__label {
414
414
  white-space: nowrap;
415
- overflow: hidden;
415
+ overflow-x: hidden;
416
416
  text-overflow: ellipsis;
417
417
  width: calc(100% - 20px);
418
418
  display: inline-block;
419
419
  vertical-align: middle;
420
420
  font-size: 12px;
421
+ line-height: normal;
421
422
  }
422
423
  }
423
424
 
@@ -508,12 +509,13 @@
508
509
 
509
510
  .el-checkbox__label {
510
511
  white-space: nowrap;
511
- overflow: hidden;
512
+ overflow-x: hidden;
512
513
  text-overflow: ellipsis;
513
514
  width: calc(100% - 20px);
514
515
  display: inline-block;
515
516
  vertical-align: middle;
516
517
  font-size: 12px;
518
+ line-height: normal;
517
519
  }
518
520
  }
519
521
 
@@ -717,9 +719,7 @@
717
719
  }
718
720
 
719
721
  &__operation-btn {
720
- &--active {
721
- color: @--theme-blue-- !important;
722
- }
722
+ color: @--theme-blue-- !important;
723
723
  }
724
724
  }
725
725
 
@@ -205,7 +205,6 @@
205
205
  v-if="editingRowIndex !== scope.$index"
206
206
  ref="operationPopoverRef"
207
207
  :default-operations="defaultOperations"
208
- :hovering-cell-info="hoveringCellInfo"
209
208
  :scope="scope"
210
209
  @edit="() => handleEdit(scope)"
211
210
  @delete="() => handleDelete(scope.row, scope.$index)"