build: prod url
This commit is contained in:
parent
051213b5e5
commit
424bde5b16
|
@ -4,7 +4,7 @@ ENV = 'production'
|
||||||
# base api url
|
# base api url
|
||||||
# VITE_BASE_API_URL = 'https://nest-api.buqiyuan.site'
|
# VITE_BASE_API_URL = 'https://nest-api.buqiyuan.site'
|
||||||
# VITE_BASE_API_URL = 'http://123.249.107.55'
|
# 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
|
VITE_BASE_URL = /api
|
||||||
|
|
|
@ -2,14 +2,14 @@
|
||||||
<div>
|
<div>
|
||||||
<router-view v-slot="{ Component }">
|
<router-view v-slot="{ Component }">
|
||||||
<template v-if="Component">
|
<template v-if="Component">
|
||||||
<transition mode="out-in">
|
<!-- <transition mode="out-in" :duration="100"> -->
|
||||||
<Suspense>
|
<Suspense>
|
||||||
<component :is="Component" />
|
<component :is="Component" />
|
||||||
<template #fallback>
|
<template #fallback>
|
||||||
<a-skeleton />
|
<a-skeleton />
|
||||||
</template>
|
</template>
|
||||||
</Suspense>
|
</Suspense>
|
||||||
</transition>
|
<!-- </transition> -->
|
||||||
</template>
|
</template>
|
||||||
</router-view>
|
</router-view>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue