@@ -172,12 +172,17 @@ export default {
172172 subSectionUuid ,
173173 subSectionLabel ,
174174 ) {
175+ let sectionName = this .$route .meta .sectionName ;
175176 let sectionLabel = this .$t (this .$route .meta .i18n );
176177 let sectionPath = this .$route .meta .sectionPath ;
177178 if (crumbName && subSectionName && subSectionUuid && subSectionLabel) {
178179 return [
179- { path: ' ' , name: this .$t (' message.home' ) },
180- { path: sectionPath, name: sectionLabel },
180+ { path: ' ' , name: ' Home' , meta: { label: this .$t (' message.home' ) } },
181+ {
182+ path: sectionPath,
183+ name: sectionName,
184+ meta: { label: sectionLabel },
185+ },
181186 {
182187 name: subSectionName,
183188 params: { uuid: subSectionUuid },
@@ -187,14 +192,22 @@ export default {
187192 ];
188193 } else if (crumbName) {
189194 return [
190- { path: ' ' , name: this .$t (' message.home' ) },
191- { path: sectionPath, name: sectionLabel },
195+ { path: ' ' , name: ' Home' , meta: { label: this .$t (' message.home' ) } },
196+ {
197+ path: sectionPath,
198+ name: sectionName,
199+ meta: { label: sectionLabel },
200+ },
192201 { name: crumbName, active: true },
193202 ];
194203 } else {
195204 return [
196- { path: ' ' , name: this .$t (' message.home' ) },
197- { path: sectionPath, name: sectionLabel },
205+ { path: ' ' , name: ' Home' , meta: { label: this .$t (' message.home' ) } },
206+ {
207+ path: sectionPath,
208+ name: sectionName,
209+ meta: { label: sectionLabel },
210+ },
198211 ];
199212 }
200213 },
0 commit comments