随笔分类 -  Vue3

摘要:vue3请求编写规范 使用的是模块化的组件式API界面 request (请求文件夹) 总文件夹中 包含了 对应的接口文件 xxxx.ts 包含了 管理最底层请求的 request.ts 包含了 导出所有接口的 http.ts 底层请求 request.ts //引入axios请求 import a 阅读全文
posted @ 2023-03-11 09:02 Dollom 阅读(476) 评论(0) 推荐(0)
摘要:vue3使用总结 SetUp-入口函数 vue3新增了一个setup函数 ,它是组合式API起点。 setup() { let count = ref(99) function fn() { count.value++ } return { count, fn } }, setup函数需要返回变量( 阅读全文
posted @ 2023-03-11 08:59 Dollom
摘要:Vue3自定义指令修改DOM操作 阅读全文
posted @ 2023-02-23 08:57 Dollom 阅读(633) 评论(0) 推荐(0)
摘要:Vue3+TS使用EChart地图 阅读全文
posted @ 2023-02-23 08:56 Dollom
摘要:请求与API 阅读全文
posted @ 2023-02-16 18:11 Dollom
摘要:Vue3项目使用路由的一些小结 阅读全文
posted @ 2023-02-16 18:10 Dollom
摘要:在使用vite脚手架生成项目时,会出现一些引入路径失败的错误 阅读全文
posted @ 2023-02-16 10:03 Dollom 阅读(5579) 评论(0) 推荐(1)