improve ux
This commit is contained in:
parent
dc92fdd613
commit
af409ac15b
@ -26,12 +26,14 @@ watch(existingLink, async (value) => {
|
||||
});
|
||||
|
||||
watch(store.specs, debounce(() => {
|
||||
if(store.formValid) {
|
||||
generateLink();
|
||||
} else {
|
||||
link.value = "";
|
||||
}
|
||||
}, 100));
|
||||
if (store.formValid) {
|
||||
generateLink();
|
||||
} else {
|
||||
link.value = "";
|
||||
}
|
||||
}, 100),
|
||||
{immediate: true}
|
||||
);
|
||||
|
||||
async function generateLink() {
|
||||
try {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user