element-ui-root 2.9.1 → 2.9.3
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 +6 -6
- package/dist/index.umd.js +6 -6
- package/dist/index.umd.min.js +1 -1
- package/package.json +1 -1
package/dist/index.common.js
CHANGED
|
@@ -24619,18 +24619,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
24619
24619
|
}
|
|
24620
24620
|
}
|
|
24621
24621
|
}, [data.length > 0 && data.map((a, b) => {
|
|
24622
|
-
let label = a.text || a.name || a.label || a.title
|
|
24623
|
-
let value = a.value || a.code || a.id
|
|
24622
|
+
let label = a.text || a.name || a.label || a.title || `${a}`;
|
|
24623
|
+
let value = a.value || a.code || a.id || `${b}`;
|
|
24624
24624
|
return h("el-tab-pane", {
|
|
24625
24625
|
"key": b,
|
|
24626
24626
|
"attrs": {
|
|
24627
|
-
"label": label
|
|
24628
|
-
"name": value
|
|
24627
|
+
"label": label,
|
|
24628
|
+
"name": value
|
|
24629
24629
|
}
|
|
24630
24630
|
}, [a.render ? a.render() : h("div", {
|
|
24631
24631
|
"key": b
|
|
24632
|
-
}, [this.$slots
|
|
24633
|
-
})]);
|
|
24632
|
+
}, [this.$slots[label]])]);
|
|
24633
|
+
}), this.$slots.default]);
|
|
24634
24634
|
},
|
|
24635
24635
|
|
|
24636
24636
|
click({
|
package/dist/index.umd.js
CHANGED
|
@@ -24628,18 +24628,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
24628
24628
|
}
|
|
24629
24629
|
}
|
|
24630
24630
|
}, [data.length > 0 && data.map((a, b) => {
|
|
24631
|
-
let label = a.text || a.name || a.label || a.title
|
|
24632
|
-
let value = a.value || a.code || a.id
|
|
24631
|
+
let label = a.text || a.name || a.label || a.title || `${a}`;
|
|
24632
|
+
let value = a.value || a.code || a.id || `${b}`;
|
|
24633
24633
|
return h("el-tab-pane", {
|
|
24634
24634
|
"key": b,
|
|
24635
24635
|
"attrs": {
|
|
24636
|
-
"label": label
|
|
24637
|
-
"name": value
|
|
24636
|
+
"label": label,
|
|
24637
|
+
"name": value
|
|
24638
24638
|
}
|
|
24639
24639
|
}, [a.render ? a.render() : h("div", {
|
|
24640
24640
|
"key": b
|
|
24641
|
-
}, [this.$slots
|
|
24642
|
-
})]);
|
|
24641
|
+
}, [this.$slots[label]])]);
|
|
24642
|
+
}), this.$slots.default]);
|
|
24643
24643
|
},
|
|
24644
24644
|
|
|
24645
24645
|
click({
|