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