init
This commit is contained in:
6
src/client/index.tsx
Normal file
6
src/client/index.tsx
Normal file
@@ -0,0 +1,6 @@
|
||||
// 如果当前是在 /big 下
|
||||
if (window.location.pathname.startsWith('/admin')) {
|
||||
import('./admin/index')
|
||||
}else{
|
||||
import('./home/index')
|
||||
}
|
||||
Reference in New Issue
Block a user