meixioacomponent 0.2.61 → 0.2.62

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.61",
3
+ "version": "0.2.62",
4
4
  "private": false,
5
5
  "author": "YuRi",
6
6
  "main": "lib/meixioacomponent.umd.min.js",
@@ -51,8 +51,8 @@
51
51
  </div>
52
52
  </div>
53
53
  <baseButtonHandleVue
54
- :size="`small`"
55
54
  slot="dialog-footer"
55
+ :size="footerButtonSize"
56
56
  :config="footerHandleConfig"
57
57
  ></baseButtonHandleVue>
58
58
  </base-dialog>
@@ -128,6 +128,11 @@ export default {
128
128
  default: null,
129
129
  },
130
130
 
131
+ footerButtonSize: {
132
+ type: String,
133
+ default: "small",
134
+ },
135
+
131
136
  contentHeight: {
132
137
  type: String,
133
138
  default: "50vh",
@@ -435,7 +435,7 @@ export default {
435
435
  template: false,
436
436
  });
437
437
 
438
- this.startHttp();
438
+ this.refreshData();
439
439
  },
440
440
  searchContentHeightChange(height) {
441
441
  this.searchContentHeight = height;
@@ -522,7 +522,7 @@ export default {
522
522
  /* 当快捷筛选的按钮被点击后 */
523
523
  handleScreen(index) {
524
524
  this.$props.screenList.index = index;
525
- this.startHttp();
525
+ this.refreshData();
526
526
  },
527
527
  // 初始化高级筛选
528
528
  initProScreenConfig() {
@@ -594,7 +594,7 @@ export default {
594
594
  // 弹框确定的按钮
595
595
  dialogProscreenConfirm(type) {
596
596
  if (type) {
597
- this.startHttp();
597
+ this.refreshData();
598
598
  }
599
599
  this.$refs.dialog.closeDialog();
600
600
  },
@@ -636,7 +636,7 @@ export default {
636
636
  return result;
637
637
  },
638
638
  // 开始调用http请求
639
- async startHttp(init = true) {
639
+ async refreshData(init = true) {
640
640
  this.loading = true;
641
641
  this.defaultSvg = false;
642
642
  this.cleanCheckValue();