wave-ui 1.63.0 → 1.63.1
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/wave-ui.es.js
CHANGED
|
@@ -1481,7 +1481,11 @@ const __vue2_script$L = {
|
|
|
1481
1481
|
computed: {
|
|
1482
1482
|
buttonProps() {
|
|
1483
1483
|
const { tooltip, tooltipProps, ...props } = this.$props;
|
|
1484
|
-
return {
|
|
1484
|
+
return {
|
|
1485
|
+
...props,
|
|
1486
|
+
...this.$attrs,
|
|
1487
|
+
class: this.tooltip && this.$vnode.data.staticClass
|
|
1488
|
+
};
|
|
1485
1489
|
}
|
|
1486
1490
|
}
|
|
1487
1491
|
};
|
|
@@ -7162,6 +7166,7 @@ const __vue2_script = {
|
|
|
7162
7166
|
counts: { type: Boolean },
|
|
7163
7167
|
itemIconKey: { type: String, default: "icon" },
|
|
7164
7168
|
iconColor: { type: String },
|
|
7169
|
+
itemLabelKey: { type: String, default: "label" },
|
|
7165
7170
|
itemIconColorKey: { type: String, default: "iconColor" },
|
|
7166
7171
|
itemRouteKey: { type: String, default: "route" },
|
|
7167
7172
|
itemDisabledKey: { type: String, default: "disabled" },
|
|
@@ -7195,7 +7200,7 @@ const __vue2_script = {
|
|
|
7195
7200
|
this.currentDepthItems.push({
|
|
7196
7201
|
originalItem: item,
|
|
7197
7202
|
_uid: this.depth.toString() + (i + 1),
|
|
7198
|
-
label: item.
|
|
7203
|
+
label: item[this.itemLabelKey],
|
|
7199
7204
|
children: !!item.children,
|
|
7200
7205
|
branch: item.branch,
|
|
7201
7206
|
route: item[this.itemRouteKey],
|