diff --git a/doc/docs/files/10100_对接前端.md b/doc/docs/files/10100_对接前端.md index 32614280..a1c98cd6 100644 --- a/doc/docs/files/10100_对接前端.md +++ b/doc/docs/files/10100_对接前端.md @@ -41,6 +41,8 @@ public class ZuulConfig extends AlipayZuulConfiguration { 封装请求,方便调用,针对vue的封装如下: ```js +import axios from 'axios' + // 创建axios实例 const client = axios.create({ baseURL: process.env.BASE_API, // api 的 base_url