fix
parent
12facb0623
commit
7f083cb99c
|
@ -1,6 +1,6 @@
|
||||||
const AsyncComp = () => {
|
const AsyncComp = () => {
|
||||||
const pathnameArr = window.location.pathname.split('/')
|
const pathnameArr = window.location.pathname.split('/')
|
||||||
const com = pathnameArr[1] || 'button'
|
const com = pathnameArr[1] || 'button' // eslint-disable-line
|
||||||
const demo = pathnameArr[2] || 'index'
|
const demo = pathnameArr[2] || 'index'
|
||||||
return {
|
return {
|
||||||
component: import(`../components/card/demo/${demo}.vue`),
|
component: import(`../components/card/demo/${demo}.vue`),
|
||||||
|
|
Loading…
Reference in New Issue