From 43c2f5b94d87263cf189f7ba51c8dc6c5e6144c8 Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期四, 23 十一月 2023 08:52:22 +0800 Subject: [PATCH] 1.修改了雷达图传入的数据 2.数据指标排名一进来按日均值倒序排列 3.修改了一些局部的样式 --- src/api/index.js | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index f6fa644..e4deb55 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -1,12 +1,10 @@ import axios from 'axios'; import { setInterceptors } from './config'; - - - -const url = 'http://localhost:8081/'; +// const url = 'http://localhost:8081/'; // 閮ㄧ讲 -// const url = 'http://114.215.109.124:8803/'; +const url = 'http://114.215.109.124:8803/'; +// const url = 'http://192.168.1.8:8081/'; //椋炵窘鐩戠 const $http = axios.create({ @@ -14,14 +12,16 @@ timeout: 10000 }); -/* Python鍚庡彴 */ + +/* Python鍚庡彴 */ const url_py = 'http://127.0.0.1:8089/' const $http_py = axios.create({ baseURL: url_py, timeout: 10000 }); + //娣诲姞鎷︽埅鍣� setInterceptors($http,$http_py); -export { $http,$http_py}; +export { $http,$http_py,url}; -- Gitblit v1.9.3