Commit 2947ba52 authored by zhangyanni's avatar zhangyanni

路由

parent cbacb2e4
...@@ -114,7 +114,7 @@ Router.prototype.push = function replace(location) { ...@@ -114,7 +114,7 @@ Router.prototype.push = function replace(location) {
}; };
const router = new Router({ const router = new Router({
routes: [ routes: [
{path: '*', component: notFind}, // {path: '*', component: notFind},
{ {
path: '/', path: '/',
name: 'index', name: 'index',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment