vue2-client 1.4.18 → 1.4.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/package.json +1 -1
- package/src/components/menu/menu.js +1 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -240,7 +240,7 @@ export default {
|
|
|
240
240
|
let matches = this.$route.matched
|
|
241
241
|
const route = matches[matches.length - 1]
|
|
242
242
|
let chose = this.routesMap[route.path]
|
|
243
|
-
if (chose.meta && chose.meta.highlight) {
|
|
243
|
+
if (chose && chose.meta && chose.meta.highlight) {
|
|
244
244
|
chose = this.routesMap[chose.meta.highlight]
|
|
245
245
|
const resolve = this.$router.resolve({ path: chose.fullPath })
|
|
246
246
|
matches = (resolve.resolved && resolve.resolved.matched) || matches
|