meixioacomponent 0.3.75 → 0.3.78

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.78",
4
4
  "private": false,
5
5
  "author": "YuRi",
6
6
  "main": "lib/meixioacomponent.umd.min.js",
@@ -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"
@@ -40,16 +43,16 @@ export default {
40
43
  mounted() {},
41
44
  computed: {
42
45
  getCacheList() {
43
- return store.getters['dialogCacheStore/getCacheList']
46
+ return this.$store.getters['dialogCacheStore/getCacheList']
44
47
  },
45
48
  getRenderShow() {
46
- return store.getters['dialogCacheStore/getRenderShow']
49
+ return this.$store.getters['dialogCacheStore/getRenderShow']
47
50
  },
48
51
  },
49
52
  components: { baseDefaultSvg },
50
53
  methods: {
51
54
  openDialogCache(index) {
52
- store.commit('dialogCacheStore/OPEN_DIALOG_CACHE', index)
55
+ this.store.commit('dialogCacheStore/OPEN_DIALOG_CACHE', index)
53
56
  },
54
57
  dialogCacheWrapOnBlue() {
55
58
  this.$store.commit('dialogCacheStore/SET_RENDER_SHOW', false)
@@ -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,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