<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                <a name="alert"></a> ## alert(content, [yes], [options]) alert 警告彈框,功能類似于瀏覽器自帶的 alert 彈框,用于提醒、警告用戶簡單扼要的信息,只有一個“確認”按鈕,點擊“確認”按鈕后關閉彈框。 **Kind**: global function | Param | Type | Description | | --- | --- | --- | | content | <code>string</code> | 彈窗內容 | | [yes] | <code>function</code> | 點擊確定按鈕的回調 | | [options] | <code>object</code> | 配置項 | | [options.title] | <code>string</code> | 彈窗的標題 | | [options.className] | <code>string</code> | 自定義類名 | | [options.buttons] | <code>array</code> | 按鈕配置項,詳情參考dialog | **Example** ```js weui.alert('普通的alert'); weui.alert('帶回調的alert', function(){ console.log('ok') }); var alertDom = weui.alert('手動關閉的alert', function(){ return false; // 不關閉彈窗,可用alertDom.hide()來手動關閉 }); weui.alert('自定義標題的alert', { title: '自定義標題' }); weui.alert('帶回調的自定義標題的alert', function(){ console.log('ok') }, { title: '自定義標題' }); weui.alert('自定義按鈕的alert', { title: '自定義按鈕的alert', buttons: [{ label: 'OK', type: 'primary', onClick: function(){ console.log('ok') } }] }); // 多次使用 var alert = weui.alert('hello'); alert.hide(function(){ weui.alert('world'); }); ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看