07 2019 档案
摘要:在main.js中进行封装 Vue.prototype.$sleep = time => { return new Promise((resolve, reject) => { window.setTimeout(() => { resolve() }, time) }) } 这样就可以全局当中使用
阅读全文
摘要:发送验证码 下面是具体实现步骤: handleSendCode () { const { mobile } = this.form axios({ method: 'GET', url: `http://ttapi.research.itcast.cn/mp/v1_0/captchas/${mobi
阅读全文