diff --git a/examples/router/axios.js b/examples/router/axios.js index 3bf397f3..d02ec70d 100644 --- a/examples/router/axios.js +++ b/examples/router/axios.js @@ -27,7 +27,7 @@ instance.interceptors.request.use(config => { config.baseURL = location.hash.replace(/#url-/, '/') } if (["/omsapi"].includes(config.baseURL)) { - config.url = config.url.replace(/(app|auth|admin|api)\//, "") + config.url = config.url.replace(/(app|auth|admin|api)\//, "api/") } if (["/xsjr", "/tfx"].includes(config.baseURL)) { config.url = config.url.replace(/(app|auth|admin|api)\//, "api/") diff --git a/project/oms/apps/AppWechatStatistics/AppWechatStatistics.vue b/project/oms/apps/AppWechatStatistics/AppWechatStatistics.vue index 3488f785..fca7000d 100644 --- a/project/oms/apps/AppWechatStatistics/AppWechatStatistics.vue +++ b/project/oms/apps/AppWechatStatistics/AppWechatStatistics.vue @@ -184,6 +184,8 @@ if (res.data.length) { this.search.appId = res.data[0].appId + + this.getInfo() } } })