meixioacomponent 0.2.90 → 0.2.91

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": "meixioacomponent",
3
- "version": "0.2.90",
3
+ "version": "0.2.91",
4
4
  "private": false,
5
5
  "author": "YuRi",
6
6
  "main": "lib/meixioacomponent.umd.min.js",
@@ -412,12 +412,11 @@ export default {
412
412
  }
413
413
  /deep/ .el-input__inner {
414
414
  font-weight: var(--font-weight-kg);
415
- border-color:var(--color-gray-d);
415
+ border-color: var(--color-gray-d);
416
416
  }
417
417
  .is-open {
418
418
  background: var(--color-primary);
419
419
  /deep/ .el-input__inner {
420
- color: white !important;
421
420
  &::placeholder {
422
421
  color: var(--color-error) !important;
423
422
  }
@@ -229,7 +229,7 @@ export default {
229
229
  },
230
230
  setChunkLength() {
231
231
  const { formConfig } = this.$props;
232
- if (formConfig.rowNumber) {
232
+ if (formConfig?.rowNumber) {
233
233
  this.chunkLength = formConfig.rowNumber;
234
234
  return;
235
235
  } else if (this.$props.rowNumber) {
@@ -16,6 +16,7 @@
16
16
  :name="lockClass"
17
17
  class="lock-icons"
18
18
  :active="config.lock"
19
+ v-if="!isAverageWidth"
19
20
  @iconClick="handleClick('lock')"
20
21
  ></base-icon>
21
22
 
@@ -63,6 +64,7 @@ export default {
63
64
  require: true,
64
65
  },
65
66
  index: {},
67
+ isAverageWidth: {},
66
68
  },
67
69
  methods: {
68
70
  handleClick(type) {
@@ -80,8 +80,9 @@
80
80
  </template>
81
81
 
82
82
  <el-table-column
83
- type="selection"
83
+ fixed="left"
84
84
  width="60px"
85
+ type="selection"
85
86
  :selectable="selected"
86
87
  ></el-table-column>
87
88
  <el-table-column
@@ -100,6 +101,7 @@
100
101
  :scope="scope"
101
102
  :config="item"
102
103
  :index="index"
104
+ :isAverageWidth="isAverageWidth"
103
105
  @headerItemLock="headerItemLock"
104
106
  @headerItemUnlock="headerItemUnlock"
105
107
  @handleScreenItem="handleScreenItem"