vue3-h5-template icon indicating copy to clipboard operation
vue3-h5-template copied to clipboard

🎉基于Vue3+TypeScript+ Vue-Cli4.0 ,构建手机端模板脚手架

Results 5 vue3-h5-template issues
Sort by recently updated
recently updated
newest added

脚手架https://github.com/sunniejs/vue-h5-template目前看来已停止维护 该项目作者是否会持续维护呢

看了大佬对 axios 的封装,参照着封装后,我的类型是 ![image](https://user-images.githubusercontent.com/22491714/156121828-ac8243d9-b320-42d5-be40-f3fd1dbb8cad.png) 但是看大佬的封装,request 是 any 类型 ![image](https://user-images.githubusercontent.com/22491714/156121903-be423a0a-4984-4c00-bf2a-dfb06d91e945.png) 我在 api 层想通过泛型的方式去拿到返回值的具体类型,会报如下错误 ![image](https://user-images.githubusercontent.com/22491714/156122083-1d61923d-1382-4b45-a2fc-26c900dc7214.png) 完整代码如下 ```ts // request.ts import type { AxiosRequestConfig, AxiosResponse } from 'axios' import axios from 'axios' import...

![image](https://user-images.githubusercontent.com/31098086/151309153-676bc828-af98-4f01-8f71-93ef6e70369f.png)

![image](https://user-images.githubusercontent.com/12639114/138821700-9bc353e3-0411-4893-bb06-d148828b080c.png) 你好,我准备公司项目用你这套框架,但是运行不起来,请问是怎么回事?