mixin.js 204 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 import { findComponentsUpward } from '../../utils/assist'; export default { computed: { parentSubmenuNum () { return findComponentsUpward(this, 'Submenu').length; } } }