parent
9e7e63f713
commit
fa30b3feda
|
@ -95,9 +95,7 @@ const serverData = reactive({
|
|||
|
||||
const pickerTimeChange = () => {
|
||||
data.value.type = undefined;
|
||||
if(props.isNoCommunity){
|
||||
getCPUEcharts(data.value)
|
||||
}
|
||||
};
|
||||
|
||||
const echartsOptions = computed(() => {
|
||||
|
@ -196,9 +194,7 @@ watch(
|
|||
if (value === undefined) return;
|
||||
const date = getTimeByType(value);
|
||||
data.value.time = [dayjs(date), dayjs(new Date())];
|
||||
if (props.isNoCommunity) {
|
||||
getCPUEcharts(data.value);
|
||||
}
|
||||
},
|
||||
{ immediate: true, deep: true },
|
||||
);
|
||||
|
|
|
@ -95,9 +95,7 @@ const serverData = reactive({
|
|||
|
||||
const pickerTimeChange = () => {
|
||||
data.value.type = undefined;
|
||||
if(props.isNoCommunity){
|
||||
getJVMEcharts(data.value)
|
||||
}
|
||||
};
|
||||
|
||||
const getJVMEcharts = async (val: any) => {
|
||||
|
@ -200,9 +198,7 @@ watch(
|
|||
const date = getTimeByType(value);
|
||||
data.value.time = [dayjs(date), dayjs(new Date())];
|
||||
|
||||
if (props.isNoCommunity) {
|
||||
getJVMEcharts(data.value);
|
||||
}
|
||||
},
|
||||
{ immediate: true, deep: true },
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue