This commit is contained in:
2025-09-10 10:08:27 +09:00
6 changed files with 59 additions and 217 deletions

View File

@@ -409,11 +409,12 @@ const stopConnect = () => {
const onSubmit = async () => {
addEditLoading.value = true;
const tryResult = await tryConnect(false);
if (!tryResult) {
try {
await tryConnect(false);
} catch (e) {
addEditLoading.value = false;
return
};
return;
}
const method = editId.value !== 0 ? 'put' : 'post';
const param: IDomainSubmit = {
'id': editId.value,