wx.request{}里的url只能写http开头的吗?
发布于 6 年前 作者 iliu 1887 次浏览 来自 官方Issues

wx.request{}里的url只能写http开头的吗?可以读取本地文件吗?该怎么写?

例如这种

  1. wx.request({

  2. url: '../../data/test'

  3. headers: {

  4. 'Content-Type': 'application/json'

  5. },



回到顶部