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