fix: bug#20211

* fix: bug#20211
This commit is contained in:
qiaochuLei 2023-11-14 13:39:34 +08:00 committed by GitHub
parent ed6ed70e7f
commit f3c5ed3a23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -99,7 +99,7 @@ const pickerTimeChange = () => {
};
const echartsOptions = computed(() => {
console.log(serverActive.value)
console.log(serverActive.value,'---')
const series = serverActive.value.length
? serverActive.value.map((key) => setOptions(serverData.data, key))
: typeDataLine
@ -173,7 +173,7 @@ const getCPUEcharts = async (val: any) => {
const setOptions = (optionsData: any, key: string) => ({
data: arrayReverse(optionsData[key]),
name: key,
name: key != 'undefined' ? key : '',
type: 'line',
smooth: true,
symbol: 'none',

View File

@ -140,7 +140,7 @@ const getJVMEcharts = async (val: any) => {
const setOptions = (optionsData: any, key: string) => ({
data: arrayReverse(optionsData[key]),
name: key,
// name: key!= 'undefined' ? key : '',
type: 'line',
smooth: true,
symbol: 'none',

View File

@ -96,8 +96,8 @@ export default defineConfig(({ mode}) => {
// target: 'http://192.168.32.244:8881',
// target: 'http://192.168.32.163:8844', //张季本地
// target: 'http://120.77.179.54:8844', // 120测试
target: 'http://192.168.33.46:8844', // 本地开发环境
// target: 'http://192.168.33.1:8845', // 社区版开发环境
// target: 'http://192.168.33.46:8844', // 本地开发环境
target: 'http://192.168.33.1:8845', // 社区版开发环境
// target: 'http://192.168.32.5:8848', // 刘本地
ws: 'ws://192.168.33.46:8844',
changeOrigin: true,