This commit is contained in:
2023-08-11 10:45:20 +08:00
commit 161ca982f3
31850 changed files with 2706500 additions and 0 deletions

23
node_modules/vant/es/mixins/slots.js generated vendored Normal file
View File

@ -0,0 +1,23 @@
/**
* Use scopedSlots in Vue 2.6+
* downgrade to slots in lower version
*/
export var SlotsMixin = {
methods: {
slots: function slots(name, props) {
if (name === void 0) {
name = 'default';
}
var $slots = this.$slots,
$scopedSlots = this.$scopedSlots;
var scopedSlot = $scopedSlots[name];
if (scopedSlot) {
return scopedSlot(props);
}
return $slots[name];
}
}
};