bugifx
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user