meixioacomponent 0.3.75 → 0.3.76

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.3.75",
3
+ "version": "0.3.76",
4
4
  "private": false,
5
5
  "author": "YuRi",
6
6
  "main": "lib/meixioacomponent.umd.min.js",
@@ -26,7 +26,7 @@
26
26
  <el-button
27
27
  size="small"
28
28
  @click="handleOpenProScreen"
29
- :disabled="proScreenConfig || proScreenConfig.length <= 0"
29
+ :disabled="proScreenConfig.length <= 0"
30
30
  >
31
31
  <i class="meixicomponenticonfont meixicomponenticon-shaixuan"></i>
32
32
  高级筛选
@@ -96,6 +96,7 @@ export default {
96
96
  },
97
97
  created() {
98
98
  this.initFooterHandleList()
99
+ // console.log(this.proScreenConfig)
99
100
  },
100
101
  props: {
101
102
  value: {},
@@ -538,22 +538,20 @@ export default {
538
538
  // 初始化高级筛选
539
539
  initProScreenConfig() {
540
540
  let proScreenConfig = this.$props.proScreenConfig
541
- if (proScreenConfig.length > 0) {
542
- this._proScreenConfig = proScreenConfig.map((item) => {
543
- let index = this.$props.tableConfig.findIndex((citem) => {
544
- //console.log(citem);
545
- return citem.key == item.key
546
- })
547
541
 
548
- if (index > -1) {
549
- this.$set(item, 'label', this.$props.tableConfig[index].label)
550
- this.$set(item, 'isCheck', false)
551
- return item
552
- }
542
+ this._proScreenConfig = proScreenConfig.map((item) => {
543
+ let index = this.$props.tableConfig.findIndex((citem) => {
544
+ //console.log(citem);
545
+ return citem.key == item.key
553
546
  })
554
547
 
555
- //console.log(this._proScreenConfig);
556
- }
548
+ if (index > -1) {
549
+ this.$set(item, 'label', this.$props.tableConfig[index].label)
550
+ this.$set(item, 'isCheck', false)
551
+ return item
552
+ }
553
+ })
554
+
557
555
  },
558
556
  // 打开高级筛选
559
557
  handleOpenProScreen() {
@@ -326,6 +326,7 @@ export default {
326
326
  :headerConfig="headerConfig"
327
327
  :totalPropsList="totalPropsList"
328
328
  :proScreenConfig="proScreenConfig"
329
+
329
330
  >
330
331
  <template>
331
332
  <base-icon