Tom Tan
Tom Tan
``` axios.interceptors.response.use(function(response){ ..... MessageBox({ title: '提示', message: '网络异常,请稍后再试', confirmButtonText: '刷新', showCancelButton: true, cancelButtonText: '返回', closeOnClickModal: false, }).then(action => { console.log(action); if (action === 'cancel') { // 返回上一页 router.go(-1); } else...
@gethin94 你试下这样行不行~~
@gethin94 https://github.com/ssttm169/use-axios-well/blob/gethin94/src/main.js 你看看是否你想要的那种!~?
你看看这里的代码,我做了一个分支给你,这里是可以获取的,,那个 res https://github.com/ssttm169/use-axios-well/blob/e8f7310aa5f8090a9baeed23cbbd30b56e508f7f/src/pages/index.vue#L12-L19
@gethin94 如果还行,你给我远程协助,我帮你看看代码。~~加我企鹅:14665350
@dengxiaozhen 解决了呀。
这个我知道啊,我所指的是html的部分~~
@nEdAy 是的,是这个~~
@wbcz 准确率不是很高, 我现在设定是录音时间是 5 秒,如果录音时间长一点的话就准确率就高一点。这个功能还在实验阶段,还没有正式投入使用呢!