meixioacomponent 0.3.74 → 0.3.77

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.74",
3
+ "version": "0.3.77",
4
4
  "private": false,
5
5
  "author": "YuRi",
6
6
  "main": "lib/meixioacomponent.umd.min.js",
@@ -139,7 +139,7 @@ export default {
139
139
 
140
140
  isCache: {
141
141
  type: Boolean,
142
- default: true,
142
+ default: false,
143
143
  },
144
144
  },
145
145
 
@@ -6,7 +6,10 @@
6
6
  class="dialog-cache-wrap"
7
7
  @blur="dialogCacheWrapOnBlue"
8
8
  >
9
- <div class="dialog-no-cache" v-if="getCacheList.length <= 0">
9
+ <div
10
+ class="dialog-no-cache"
11
+ v-if="getCacheList && getCacheList.length <= 0"
12
+ >
10
13
  <baseDefaultSvg
11
14
  :width="100"
12
15
  :height="100"
@@ -146,7 +146,7 @@ export default {
146
146
 
147
147
  isCache: {
148
148
  type: Boolean,
149
- default: true,
149
+ default: false,
150
150
  },
151
151
  },
152
152
  components: {
@@ -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,18 @@ 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
+ return citem.key == item.key
553
545
  })
554
546
 
555
- //console.log(this._proScreenConfig);
556
- }
547
+ if (index > -1) {
548
+ this.$set(item, 'label', this.$props.tableConfig[index].label)
549
+ this.$set(item, 'isCheck', false)
550
+ return item
551
+ }
552
+ })
557
553
  },
558
554
  // 打开高级筛选
559
555
  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