zarknight / owx

微信小程序登录与带登录态请求后台API的示例
MIT License
107 stars 52 forks source link

小程序async await #3

Open lmx920014697 opened 5 years ago

lmx920014697 commented 5 years ago

微信小程序使用async await 需要使用npm 吗?我只导入文件,报文件路径错误
image

zarknight commented 5 years ago

这个代码里不需要使用npm的,你确认一下你下载下来的代码里有报错路径的那个文件吗?另外小程序开发工具里勾选上es6转es5的选项

发自我的 iPhone

在 2019年4月4日,09:24,lmx920014697 notifications@github.com 写道:

微信小程序使用async await 需要使用npm 吗?我只导入文件,报文件路径错误

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

lmx920014697 commented 5 years ago

image