wx.setClipboardData({
data: 'data',
success: function(res) {
wx.getClipboardData({
success: function(res) {
console.log(res.data) // data
}
})
}
})
WAService.js:3 appServiceSDKScriptError
Cannot convert undefined or null to object;at api setClipboardData beforeSuccess callback function
TypeError: Cannot convert undefined or null to object
at Function.constructor.keys (
)
at i (http://127.0.0.1:9973/appservice/__dev__/WAService.js:6:29933)
at Function.beforeSuccess (http://127.0.0.1:9973/appservice/__dev__/WAService.js:6:29504)
at Object.beforeSuccess (http://127.0.0.1:9973/appservice/__dev__/WAService.js:4:374)
at Function. (http://127.0.0.1:9973/appservice/__dev__/WAService.js:3:29341)
at Function.constructor.function.setTimeout (http://127.0.0.1:9973/appservice/appservice:1183:6881)
at http://127.0.0.1:9973/appservice/__dev__/WAService.js:3:9996
本文来自微信小程序开发者论坛 微信小程序工厂 http://www.xcxgc.com 转载请保留。
微信小程序开发者回答:
C***:
请问选了什么版本的基础库
木***:
1.9
用canvasPutImageData在隐藏的canvas上作图后,导出失败 微信小程序教程 ...
本文网址:http://www.91bianli.com/weixinxiaochengxu/56402.html