fix: 前端界面小问题修复

This commit is contained in:
meilin.huang
2023-07-21 21:01:25 +08:00
parent 7f9e972828
commit b7450f8869
5 changed files with 5 additions and 4 deletions

View File

@@ -154,7 +154,7 @@ watch(props, async (newValue: any) => {
state.form = { ...newValue.data };
state.form.machineIds = await cronJobApi.relateMachineIds.request({ cronJobId: state.form.id });
} else {
state.form = {} as any;
state.form = { script: '', status: 1 } as any;
state.chooseMachines = [];
}
});