<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>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                # 移除數據緩存 ### wx.removeStorage(OBJECT) 從本地緩存中異步移除指定 key 。 **OBJECT參數說明:** | 參數 | 類型 | 必填 | 說明 | | -------- | -------- | ---- | ------------------------ | | key | String | 是 | 本地緩存中的指定的 key | | success | Function | 是 | 接口調用的回調函數 | | fail | Function | 否 | 接口調用失敗的回調函數 | | complete | Function | 否 | 接口調用結束的回調函數(調用成功、失敗都會執行) | **示例代碼:** ``` wx.removeStorage({ key: 'key', success: function(res) { console.log(res.data) } }) ``` ### wx.removeStorageSync(KEY) 從本地緩存中同步移除指定 key 。 **參數說明:** | 參數 | 類型 | 必填 | 說明 | | ---- | ------ | ---- | ------------- | | key | String | 是 | 本地緩存中的指定的 key | **示例代碼:** ``` try { wx.removeStorageSync('key') } catch (e) { // Do something when catch error } ``` ### wx.clearStorage() 清理本地數據緩存。 **示例代碼:** ``` wx.clearStorage() ``` ### wx.clearStorageSync() 同步清理本地數據緩存 **示例代碼:** ``` try { wx.clearStorageSync() } catch(e) { // Do something when catch error } ```
                  <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>

                              哎呀哎呀视频在线观看