<> design sketch

<>1.vuex to configure
import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) export default new
Vuex.Store({ state: { bread: [] }, mutations: { }, actions: { } })
<>2. App Monitoring in $route
watch: { $route: { handler(val){ this.$store.state.bread = val.matched; } },
immediate: true }
<>$route Print results

<>matched Medium name In the routing configuration name value <>matched Medium path In the routing configuration path value { path: '/home',
name: ' home page ', component: ()=>import('../views/home') }
<>3. Component code
<template> <el-breadcrumb separator-class="el-icon-arrow-right"> <el-breadcrumb
-item v-for="(i,k) in $store.state.bread" :key="k" :to="{ path: i.path }">{{i.
name}}</el-breadcrumb-item> </el-breadcrumb> </template>

©2019-2020 Toolsou All rights reserved,
Solve in servlet The Chinese output in is a question mark C String function and character function in language MySQL management 35 A small coup optimization Java performance —— Concise article Seven sorting algorithms (java code ) use Ansible Batch deployment SSH Password free login to remote host according to excel generate create Build table SQL sentence Spring Source code series ( sixteen )Spring merge BeanDefinition Principle of Virtual machine installation Linux course What are the common exception classes ?