fix: Adjust the default values of alert attributes (#13052)

This commit is contained in:
2026-06-15 15:41:33 +08:00
committed by GitHub
parent 19602b42fb
commit bfb79066b4
2 changed files with 2 additions and 3 deletions
@@ -213,11 +213,11 @@ const openView = async (
title: string,
rowData: Partial<Alert.AlertInfo> = {
type: isMaster.value && !isEE.value ? 'panelPwdEndTime' : 'sshLogin',
cycle: 15,
cycle: isMaster.value && !isEE.value ? 15 : 30,
count: isMaster.value && !isEE.value ? 0 : 3,
sendCount: 3,
method: '',
project: '',
project: isMaster.value && !isEE.value ? '' : 'all',
status: 'Enable',
title: '',
},
@@ -570,7 +570,6 @@ const acceptParams = (params: DialogProps): void => {
}
initOptions(dialogData.value.rowData.type, dialogData.value.rowData.subType);
visible.value = true;
console.log(dialogData.value.rowData);
};
const rules = reactive({