第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

Firebase recaptchaVerifier 顯示 Uncaught TypeError:

Firebase recaptchaVerifier 顯示 Uncaught TypeError:

開(kāi)滿天機(jī) 2023-06-09 15:12:20
我正在嘗試實(shí)施 firebase 電話身份驗(yàn)證,但我一直有 Uncaught TypeError: Cannot read property 'RecaptchaVerifier' of undefined。下面是我正在使用的代碼示例請(qǐng)任何人幫助解決可能的前進(jìn)方向?<!DOCTYPE html><html>    <head>        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />    </head>    <body class="body-film">        <h1>Enter Phone Number</h1>        <form>            <input type="text" id="number" placeholder="080******" />            <div id="recaptcha-container"></div>            <button type="button" onclick="phoneAuth();">Send Code</button>        </form><br />        <h1>Enter OTP</h1>        <form>            <input type="text" id="verificationCode" placeholder="OTP HERE" />            <button type="button" onclick="codeverify();">VERIFY OTP</button>        </form>                        <!-- The core Firebase JS SDK is always required and must be listed first -->        <script src="https://www.gstatic.com/firebasejs/7.24.0/firebase-app.js"></script>        <!-- TODO: Add SDKs for Firebase products that you want to use             https://firebase.google.com/docs/web/setup#available-libraries -->        <script src="https://www.gstatic.com/firebasejs/7.24.0/firebase-analytics.js"></script>        <script>          // Your web app's Firebase configuration          // For Firebase JS SDK v7.20.0 and later, measurementId is optional          var firebaseConfig = {            apiKey: "*****************",            authDomain: "*****************",            databaseURL: "*****************",            projectId: "*****************",            storageBucket: "*****************",            messagingSenderId: "*****************",            appId: "*****************",            measurementId: "*****************"          };          // Initialize Firebase          firebase.initializeApp(firebaseConfig);          firebase.analytics();    </body></html>
查看完整描述

1 回答

?
慕容708150

TA貢獻(xiàn)1831條經(jīng)驗(yàn) 獲得超4個(gè)贊

我看不到您在哪里添加了用于 Firebase Auth 的腳本:

<script src="https://www.gstatic.com/firebasejs/7.24.0/firebase-auth.js"></script>


查看完整回答
反對(duì) 回復(fù) 2023-06-09
  • 1 回答
  • 0 關(guān)注
  • 118 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)