Files
dsProject/dsBase/WebRoot/html/cdn/lib/components/menu/src/menu-item.js

26 lines
636 B
JavaScript
Raw Normal View History

2025-08-14 15:45:08 +08:00
'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