build: prod url
This commit is contained in:
parent
051213b5e5
commit
424bde5b16
|
@ -4,7 +4,7 @@ ENV = 'production'
|
|||
# base api url
|
||||
# VITE_BASE_API_URL = 'https://nest-api.buqiyuan.site'
|
||||
# VITE_BASE_API_URL = 'http://123.249.107.55'
|
||||
VITE_BASE_API_URL = 'http://localhost'
|
||||
VITE_BASE_API_URL = 'http://123.249.107.55'
|
||||
|
||||
# 公共基础路径, 所有资源的路径都将据此配置重写。
|
||||
VITE_BASE_URL = /api
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
<div>
|
||||
<router-view v-slot="{ Component }">
|
||||
<template v-if="Component">
|
||||
<transition mode="out-in">
|
||||
<Suspense>
|
||||
<component :is="Component" />
|
||||
<template #fallback>
|
||||
<a-skeleton />
|
||||
</template>
|
||||
</Suspense>
|
||||
</transition>
|
||||
<!-- <transition mode="out-in" :duration="100"> -->
|
||||
<Suspense>
|
||||
<component :is="Component" />
|
||||
<template #fallback>
|
||||
<a-skeleton />
|
||||
</template>
|
||||
</Suspense>
|
||||
<!-- </transition> -->
|
||||
</template>
|
||||
</router-view>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue