You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
636 B
26 lines
636 B
11 months ago
|
'use strict';
|
||
|
|
||
|
Object.defineProperty(exports, '__esModule', { value: true });
|
||
|
|
||
|
var props = require('../../../utils/props.js');
|
||
|
require('../../../utils/util.js');
|
||
|
var shared = require('@vue/shared');
|
||
|
|
||
|
const menuItemProps = props.buildProps({
|
||
|
index: {
|
||
|
type: props.definePropType([String, null]),
|
||
|
default: null
|
||
|
},
|
||
|
route: {
|
||
|
type: props.definePropType([String, Object])
|
||
|
},
|
||
|
disabled: Boolean
|
||
|
});
|
||
|
const menuItemEmits = {
|
||
|
click: (item) => shared.isString(item.index) && Array.isArray(item.indexPath)
|
||
|
};
|
||
|
|
||
|
exports.menuItemEmits = menuItemEmits;
|
||
|
exports.menuItemProps = menuItemProps;
|
||
|
//# sourceMappingURL=menu-item.js.map
|