UPDATE: VERSION-20260317

This commit is contained in:
libertyspy
2026-03-17 10:06:55 +08:00
parent d13359c803
commit 185e490560
3 changed files with 259 additions and 283 deletions

View File

@@ -274,8 +274,11 @@ const getAlgorithmTypeName = (type: NullableString): NullableString => {
const load = () => {
algorithms.value = [];
algorithmsTotal.value = 0;
formRef.value?.resetFields();
selectedAlgorithm.value = resolveItem(defaultAlgorithm);
if(selectedAlgorithm.value.id <= 0){
formRef.value?.resetFields();
selectedAlgorithm.value = resolveItem(defaultAlgorithm);
}
findAlgorithmsByQuery(query.value).then(r => {
algorithms.value = r.rows ?? [];