<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國際加速解決方案。 廣告
                # 邏輯層(App Service) 小程序開發框架的邏輯層由 JavaScript 編寫。 邏輯層將數據進行處理后發送給視圖層,同時接受視圖層的事件反饋。 在 JavaScript 的基礎上,我們做了一些修改,以方便地開發小程序。 - 增加 [App](https://mp.weixin.qq.com/debug/wxadoc/dev/framework/app-service/app.html) 和 [Page](https://mp.weixin.qq.com/debug/wxadoc/dev/framework/app-service/page.html) 方法,進行程序和頁面的注冊。 - 增加 `getApp` 和 `getCurrentPages` 方法,分別用來獲取 App 實例和當前頁面棧。 - 提供豐富的 [API](https://mp.weixin.qq.com/debug/wxadoc/dev/api/),如微信用戶數據,掃一掃,支付等微信特有能力。 - 每個頁面有獨立的[作用域](https://mp.weixin.qq.com/debug/wxadoc/dev/framework/app-service/module.html#%E6%96%87%E4%BB%B6%E4%BD%9C%E7%94%A8%E5%9F%9F),并提供[模塊化](https://mp.weixin.qq.com/debug/wxadoc/dev/framework/app-service/module.html#%E6%A8%A1%E5%9D%97%E5%8C%96)能力。 - **由于框架并非運行在瀏覽器中,所以 `JavaScript` 在 web 中一些能力都無法使用,如 `document`,`window` 等。** - 開發者寫的所有代碼最終將會打包成一份 `JavaScript`,并在小程序啟動的時候運行,直到小程序銷毀。類似 ServiceWorker,所以邏輯層也稱之為 App Service。
                  <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>

                              哎呀哎呀视频在线观看