问题描述
手上需要使用Taro开发一个H5的PC端页面,想要使用jQuery实现PC上的一些插件。
于是想要将jQuery和插件放到staticDirectory目录下进行,然后在index.html中引用。
但是这个staticDirectory怎么感觉不是我理解的这样的功能。
手上需要使用Taro开发一个H5的PC端页面,想要使用jQuery实现PC上的一些插件。
于是想要将jQuery和插件放到staticDirectory目录下进行,然后在index.html中引用。
但是这个staticDirectory怎么感觉不是我理解的这样的功能。
Taro.chooseImage({}).then(res => {
res.tempFiles.map(item => {
let path = item.path // 得到的path 类型是字符串 blob:http://xxxxxxxxxx
//接下来如何上传文件
}
})