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

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                # 7.遇到問題及解決辦法 一、根據 sitemap 的規則[0],當前頁面 [pages/index/automatic/automatic] 將被索引 project.config.json文件中"checkSiteMap": false, 二、[Event] 11 listeners of event AppRoute have been added, possibly causing memory leak. 事件]添加了11個事件偵聽器,可能導致內存泄漏。 目前此問題還沒有解決 三、給定某個類的寬度后,再進行了padding操作,此時寬度變長 需加 box-sizing: border-box; 來使寬度為給定的寬度而不是進行padding操作后的寬度 四、小程序阻止冒泡事件 將最上層的類加上z-index:999(使其層級最高) (把“bindtap”改為“catchtap”就沒問題了。) 五、小程序中獲取數組里面的某個字段,需要進行修改,然后再放入數組中 1,通過for循環將需要取出的字段取出 2,然后將取出的字段進行修改操作 3,定義一個變量為此字段 4,將修改后的字段賦值給此定義的字段 list:[] 數組 里面有一個字段creattime為例 creattime:2019-7-30 14:00:00 轉換為7月30日 14:00 for(var i=0;i<this.data.list.length;i++){ var kk = this.data.list[i].creattime //獲取未修改的時間 var nn = kk.split(" ") var times = nn[0] var dates = nn[1] var time =times.split("-") var year = time[0] var month = time[1] var day =time[2] var date = dates.split(":") var hour = date[0] var mine = date[1] var timedate = month + "月" + day + "日" + " " + hour + ":" + mine //得到修改后的時間 var text = 'list[' + i + '].creattime ' //定義需要修改的字段 console.log(text) this.setData({ [text]: timedate //將修改后的時間賦值給此變量 }) } 六、預覽文件時,downloadFile下載文件返回的臨時地址是(jpeg ,jpg,msword等格式時),預覽文件失敗的處理辦法 showfile: function(e) { var that = this; var url = that.data.fileurl[e.currentTarget.dataset.index] wx.downloadFile({ url: url, success: function(res) { var filePath = res.tempFilePath console.log(res) var type = url.lastIndexOf(".") var filetype = url.substring(type + 1, url.length) console.log(type) console.log(filetype) wx.openDocument({ filePath: filePath , fileType: filetype, success: function (res) { console.log('打開文檔成功') } }) } }) }, 七、textarea層級過高問題(對于頁面中底部fixed定位的按鈕,頁面滾動時) 當獲取焦點時,定義某個值為false 通過textarea顯示 當失去焦點時,值為某個值為true 通過rich-text顯示 wxss: <textarea class='describe' wx:if="{{!show}}" placeholder="請輸入您的要求" value='{{textvalue}}' bindinput='textareainput' bindblur="blurinput" data-value='{{textvalue}}'></textarea> <view wx:if="{{show}}" class="describe"> <rich-text bindtap="show" nodes="{{textvalue}}"> </rich-text> 1 2 3 4 5 js: data: { textvalue: '', show:false }, textareainput(e) { console.log(e.detail.value) this.setData({ textvalue: e.detail.value, }) }, blurinput(){ this.setData({ show:true }) }, show(){ this.setData({ show:false, }) }, 八、小程序分包問題 官方文件 注意:subPackages 大小寫 如果分包大于2M時,發布會失敗 uniapp編譯成小程序時,可以選擇:運行—>運行到小程序模擬器—>運行時是否壓縮代碼 九、小程序不自動編譯 設置—編輯器----修改文件時自動保存 勾選刪除 十、hbuilderx 編譯到微信開發工具open ide失敗 manifest.json—微信小程序配置—輸入appid(該appid與登錄的微信開發者的微信號有綁定) 十一、小程序中,不管是預覽/真機調試/體驗版,在打開調試的情況下,仍無法調用接口 將手機中的小程序,不管是開發版/體驗版,先刪除掉,再重新掃碼進入 十二、小程序中,安卓播放視頻正常,ios播放視頻異常 添加 custom-cache="{{false}}" ***** # 更多請關注公眾號,聯系專業客服咨詢! ![](https://img.kancloud.cn/25/d9/25d93b3a65b3ac97f0b794dac15b67fd_713x629.png)
                  <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>

                              哎呀哎呀视频在线观看