File tree Expand file tree Collapse file tree 2 files changed +16
-9
lines changed Expand file tree Collapse file tree 2 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 88 align =" center"
99 >
1010 <h4 class =" pb-3" >Please complete the recaptcha to launch the app</h4 >
11- <Recaptcha />
11+ <!-- < Recaptcha /> -- >
1212 </v-col >
1313 <v-col
1414 v-else-if =" !cloud_store.is_running && cloud_store.is_connexion_launched"
2020</template >
2121
2222<script setup>
23+ import { VueRecaptcha } from " vue-recaptcha"
2324 const websocket_store = use_websocket_store ()
2425 const cloud_store = use_cloud_store ()
2526 const { is_captcha_validated } = storeToRefs (cloud_store)
3031 await websocket_store .ws_connect ()
3132 }
3233 })
34+
35+ onMounted (() => {
36+ console .log (" onMounted" , useRuntimeConfig ())
37+ })
3338 </script >
Original file line number Diff line number Diff line change 11<template >
2- <vue-recaptcha
3- ref =" recaptcha"
4- :sitekey =" site_key"
5- :loadRecaptchaScript =" true"
6- @expired =" is_captcha_validated = false"
7- @verify =" submit_recaptcha"
8- align-self =" center"
9- />
2+ <ClientOnly >
3+ <vue-recaptcha
4+ ref =" recaptcha"
5+ :sitekey =" site_key"
6+ :loadRecaptchaScript =" true"
7+ @expired =" is_captcha_validated = false"
8+ @verify =" submit_recaptcha"
9+ align-self =" center"
10+ />
11+ </ClientOnly >
1012</template >
1113
1214<script setup>
You can’t perform that action at this time.
0 commit comments