|
@@ -45,7 +45,6 @@ export default {
|
|
created() {
|
|
created() {
|
|
const path = this.$route.path;
|
|
const path = this.$route.path;
|
|
const pathArr = path.split("/");
|
|
const pathArr = path.split("/");
|
|
- console.log(path);
|
|
|
|
if (pathArr.length > 2) {
|
|
if (pathArr.length > 2) {
|
|
//子路由
|
|
//子路由
|
|
const name = pathArr[pathArr.length - 2];
|
|
const name = pathArr[pathArr.length - 2];
|