鸿蒙5.0.0,wx.chooseMessageFile:jsapi not supported?
手机型号:华为mate 60 pro 系统:harmony os 5.0.0 微信版本:1.0.3 微信小程序基础库版本:3.7.1 微信小程序中,使用下面代码选择文件,报错“chooseMessageFile:fail:jsapi not supported” wx.chooseMessageFile({
type: "all",
count: 1,
success: (res) => {
// 省略...
},
fail: (err) => {
wx.showToast({
title: '选择文件失败:' + err.errMsg,
icon: 'none'
});
}
})