操屁眼的视频在线免费看,日本在线综合一区二区,久久在线观看免费视频,欧美日韩精品久久综

新聞資訊

    關于繪圖小程序問題:在微信開發者工具提供的模擬器上可以正常運行微信小程序canvas圖片微信小程序canvas圖片,但在PC端和手機端真機調試運行報錯,哪位大牛幫忙看一下是什么原因,該如何解決

    index.wxml關鍵點代碼:

    <canvas?id="canvas_preview"?type="2d"?mode="aspectFit"?background-size="cover"?style="vertical-align:middle;?width:600px;?height:600px">canvas>
    

    ???index.js關鍵代碼:(參考小程序開發文檔示例代碼)

    微信小程序canvas圖片_微信小程序canvas截圖_微信小程序canvas模糊

    wx.createSelectorQuery().select('#canvas_preview').fields({?id:?true,?node:?true,?size:?true?})
    ????????????.exec((res)?=>?{
    ??????????????????????var canvas?=?res[0].node
    ??????????????????????var ctx?=?canvas.getContext('2d')
    

    微信小程序canvas截圖_微信小程序canvas模糊_微信小程序canvas圖片

    ...... })

    真機運行報錯信息如下:

    微信小程序canvas圖片_微信小程序canvas模糊_微信小程序canvas截圖

    read '' of null

    : read '' of null

    at .eval (weapp:///pages/index/index.js:239:38)

    微信小程序canvas圖片_微信小程序canvas模糊_微信小程序canvas截圖

    at r.eval (eval at n.call. (:60808/-debug/.js?=true:1:14919), :2:)

    at

    at eval (eval at n.call. (:60808/-debug/.js?=true:1:14919), :2:)

    at eval (eval at n.call. (:60808/-debug/.js?=true:1:14919), :2:)

    微信小程序canvas圖片_微信小程序canvas截圖_微信小程序canvas模糊

    at Array. ()

    at eval (eval at n.call. (:60808/-debug/.js?=true:1:14919), :2:)

    at eval (eval at n.call. (:60808/-debug/.js?=true:1:14919), :2:)

    at eval (eval at n.call. (:60808/-debug/.js?=true:1:14919), :2:)

    at A (eval at n.call. (:60808/-debug/.js?=true:1:14919), :2:)

網站首頁   |    關于我們   |    公司新聞   |    產品方案   |    用戶案例   |    售后服務   |    合作伙伴   |    人才招聘   |   

友情鏈接: 餐飲加盟

地址:北京市海淀區    電話:010-     郵箱:@126.com

備案號:冀ICP備2024067069號-3 北京科技有限公司版權所有