提交 6a1e957b authored 作者: 龙菲's avatar 龙菲

修改接口超时控制

上级 2a54297e
......@@ -17,6 +17,7 @@
-moz-osx-font-smoothing: grayscale;
}
html,
body {
margin: 0;
......@@ -66,7 +67,7 @@ li {
.content-wrapper {
// width: 1200px;
width: 100%;
// width: 100vw;
padding: 0 13%;
display: flex;
flex-direction: column;
......
......@@ -11,7 +11,7 @@ console.log('process.env',process.env);
// create an axios instance
const service = axios.create({
baseURL: process.env.VUE_APP_BASE_API,
timeout: 5000,
timeout: 1000 *10,
})
// request interceptor
service.interceptors.request.use(
......
......@@ -131,7 +131,7 @@
</div>
</div>
<div class="cr-detail_relate_cr">
<div class="cr-detail_relate_cr" v-if="relateRelics.length>0">
<CustomTitle text="关联文物" />
<el-row :gutter="40" class="cr-list">
<el-col
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论