meixioacomponent 0.2.20 → 0.2.21

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.20",
3
+ "version": "0.2.21",
4
4
  "private": false,
5
5
  "author": "YuRi",
6
6
  "main": "lib/meixioacomponent.umd.min.js",
@@ -385,6 +385,7 @@ export default {
385
385
  this.isEdit = false;
386
386
  },
387
387
  loadSelectData() {
388
+
388
389
  this.selectStore.loadData();
389
390
  },
390
391
  visibleChange(visible) {
@@ -1,4 +1,3 @@
1
- import componentConfig from "../componentConfig";
2
1
  class SelectStore {
3
2
  constructor(params) {
4
3
  this.data = [];
@@ -8,6 +7,9 @@ class SelectStore {
8
7
  }
9
8
 
10
9
  async loadData() {
10
+ if (this.loading) {
11
+ return;
12
+ }
11
13
  this.loading = true;
12
14
  let result = await this.request();
13
15