mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-22 00:00:50 +00:00
fix: Adjust the default values of alert attributes (#13052)
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user