diff --git a/WebSite/src/layout/components/Breadcrumb/index.vue b/WebSite/src/layout/components/Breadcrumb/index.vue index b824fe82db68ac053555314b127a67ffa6792c78..eb4cf111fffe008bb90bf3f05debf53fd073df72 100644 --- a/WebSite/src/layout/components/Breadcrumb/index.vue +++ b/WebSite/src/layout/components/Breadcrumb/index.vue @@ -584,38 +584,35 @@ export default { `${ name == '绉戠爺' && type == '璇鹃缁勫煿鍏�' ? '閮ㄩ棬' : type }鍒嗘憡(${name})` - ).subMenu = yaxisData - .sort((a, b) => a.split('_')[1] - b.split('_')[1]) - .map(t => ({ - title: t, - path: - type == '璇鹃缁勫煿鍏�' - ? `/i/statistical-analysis/${prePath}research-group` - : '/i/statistical-analysis/college-cost-allocation', - query: { - name: t, - judgeEducationalOrProfessional: - type === '鏁欏閮ㄩ棬' ? '瀛﹂櫌' : type - }, - isSearch: type == '璇鹃缁勫煿鍏�', - searchKey: '', - searchPlaceholder: '杈撳叆绛涢€夎棰樼粍鍚嶇О', - isLoading: false, - type: name, - subMenu: - type == '璇鹃缁勫煿鍏�' - ? [ - { - title: '鍏ㄩ儴', - path: `/i/statistical-analysis/${prePath}research-group`, - query: { - name: t - // judgeEducationalOrProfessional: type - } + ).subMenu = yaxisData.map(t => ({ + title: t, + path: + type == '璇鹃缁勫煿鍏�' + ? `/i/statistical-analysis/${prePath}research-group` + : '/i/statistical-analysis/college-cost-allocation', + query: { + name: t, + judgeEducationalOrProfessional: type === '鏁欏閮ㄩ棬' ? '瀛﹂櫌' : type + }, + isSearch: type == '璇鹃缁勫煿鍏�', + searchKey: '', + searchPlaceholder: '杈撳叆绛涢€夎棰樼粍鍚嶇О', + isLoading: false, + type: name, + subMenu: + type == '璇鹃缁勫煿鍏�' + ? [ + { + title: '鍏ㄩ儴', + path: `/i/statistical-analysis/${prePath}research-group`, + query: { + name: t + // judgeEducationalOrProfessional: type } - ] - : null - })); + } + ] + : null + })); }); };