element-ui-root 1.4.8 → 1.4.9
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/dist/index.common.js +7 -1
- package/dist/index.umd.js +7 -1
- package/dist/index.umd.min.js +1 -1
- package/package.json +1 -1
package/dist/index.common.js
CHANGED
|
@@ -42680,6 +42680,12 @@ var _excluded = ["node", "path", "page", "text", "icon", "type"];
|
|
|
42680
42680
|
return true;
|
|
42681
42681
|
}
|
|
42682
42682
|
},
|
|
42683
|
+
reload: {
|
|
42684
|
+
type: Boolean,
|
|
42685
|
+
default: function _default() {
|
|
42686
|
+
return false;
|
|
42687
|
+
}
|
|
42688
|
+
},
|
|
42683
42689
|
menuTrigger: {
|
|
42684
42690
|
type: String,
|
|
42685
42691
|
default: function _default() {
|
|
@@ -42782,7 +42788,7 @@ var _excluded = ["node", "path", "page", "text", "icon", "type"];
|
|
|
42782
42788
|
});
|
|
42783
42789
|
},
|
|
42784
42790
|
select: function select(key, keyPath) {
|
|
42785
|
-
if (this.path == key) return false;
|
|
42791
|
+
if (!this.reload && this.path == key) return false;
|
|
42786
42792
|
this.path = key;
|
|
42787
42793
|
this.$emit('select', {
|
|
42788
42794
|
key: key,
|
package/dist/index.umd.js
CHANGED
|
@@ -42689,6 +42689,12 @@ var _excluded = ["node", "path", "page", "text", "icon", "type"];
|
|
|
42689
42689
|
return true;
|
|
42690
42690
|
}
|
|
42691
42691
|
},
|
|
42692
|
+
reload: {
|
|
42693
|
+
type: Boolean,
|
|
42694
|
+
default: function _default() {
|
|
42695
|
+
return false;
|
|
42696
|
+
}
|
|
42697
|
+
},
|
|
42692
42698
|
menuTrigger: {
|
|
42693
42699
|
type: String,
|
|
42694
42700
|
default: function _default() {
|
|
@@ -42791,7 +42797,7 @@ var _excluded = ["node", "path", "page", "text", "icon", "type"];
|
|
|
42791
42797
|
});
|
|
42792
42798
|
},
|
|
42793
42799
|
select: function select(key, keyPath) {
|
|
42794
|
-
if (this.path == key) return false;
|
|
42800
|
+
if (!this.reload && this.path == key) return false;
|
|
42795
42801
|
this.path = key;
|
|
42796
42802
|
this.$emit('select', {
|
|
42797
42803
|
key: key,
|