mirror of
https://github.com/EvolutionAPI/evolution-manager.git
synced 2025-07-16 04:02:54 -06:00
fix: qrcode error message
This commit is contained in:
parent
a60ad9b279
commit
759a5fdb76
@ -25,7 +25,7 @@
|
|||||||
</v-card-text>
|
</v-card-text>
|
||||||
</v-card>
|
</v-card>
|
||||||
|
|
||||||
<v-alert type="error" v-if="error">
|
<v-alert type="error" v-if="error" class="mt-2">
|
||||||
{{ Array.isArray(error) ? error.join(", ") : error }}
|
{{ Array.isArray(error) ? error.join(", ") : error }}
|
||||||
</v-alert>
|
</v-alert>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
@ -70,7 +70,7 @@ export default {
|
|||||||
else if (response.instance) {
|
else if (response.instance) {
|
||||||
this.dialog = false;
|
this.dialog = false;
|
||||||
return;
|
return;
|
||||||
} else throw new Error("Não foi possível carregar o QR Code, tente reiniciar o API");
|
} else throw new Error("Não foi possível carregar o QR Code, se o erro persistir, reinicie a API e tente novamente.");
|
||||||
|
|
||||||
this.timeout = setTimeout(this.loadQr, 40000);
|
this.timeout = setTimeout(this.loadQr, 40000);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user