上一页 1 2 3 4 5 6 7 8 9 ··· 14 下一页
摘要: 参考了这篇博客 问题1:netWork:unaviliable 主要是:这几个: host: "0.0.0.0", public: "172.201.10.26:1888", // 此处是自己电脑IP地址! port: 1888, devServer: { host: "0.0.0.0", publ 阅读全文
posted @ 2024-05-07 15:20 ayubene 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 同事教了我一下这块的基础 我传参数的时候,是使用封装好的post传,实际上对应不同的格式,有不同的封装方法 我使用的post方法,传递的是raw格式(body) 而实际上后端需要的是form-data格式(body),对应封装函数为upload params格式则是通过在链接后?id=&name= 阅读全文
posted @ 2024-04-23 11:57 ayubene 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 尚硅谷视频教程 Teleport:让部分元素脱离原来的位置,到to指定的位置去 此处指定了弹窗到body标签内 <template> <h4>Model</h4> <button @click="isShow = true">打开弹窗</button> <Teleport to='body'> <d 阅读全文
posted @ 2024-04-16 21:57 ayubene 阅读(4) 评论(0) 推荐(0) 编辑
摘要: vue2项目启动后,local可以访问,但是network不能访问 防火墙等等都检查了 查到原因如下:本来写的是这样,实际上端口号需要保持一致 devServer: { disableHostCheck: true, open: true, host: '0.0.0.0', port: 8002, 阅读全文
posted @ 2024-04-15 15:15 ayubene 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 看了一下午 最后使用这篇博客的方法解决了 阅读全文
posted @ 2024-04-12 17:14 ayubene 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 同事教的方法1(当时是界面操作 记得不太清楚) 切换分支 最开始写代码的时候直接写在preview的分支,同事教我怎么将代码放到自己的分支上(另也查了一下其他方法) 新建分支,commit提交代码 其他两种方法参考这篇博客 暂存代码 试了一下,要先将修改点stage,然后命令行git stash p 阅读全文
posted @ 2024-04-12 10:23 ayubene 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 尚硅谷视频教程 shallowRef shallowReactive 浅层次的响应式数据(仅第一层) shallowRef :只能整体修改 person.value可以修改,但是person.value.name无法修改 shallowReactive :只能修改对象的第一层数据 car.brand 阅读全文
posted @ 2024-04-10 23:42 ayubene 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 尚硅谷视频教程 通信方式1 props parent传child--只能传递非函数 // Parent.vue <template> <div class="parent"> <h3>parent</h3> <h3>car: {{ car }}</h3> <Child :car="car"/> </ 阅读全文
posted @ 2024-04-10 21:56 ayubene 阅读(7) 评论(0) 推荐(0) 编辑
摘要: vscode ctrl+P 粘贴 阅读全文
posted @ 2024-04-10 14:14 ayubene 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 菜鸟教程链接 简单的卡片 <template> <div class="card"> <h4 class="card-title">标题</h4> <img src="../assets/th.jfif" alt="537" class="card-img-top" style="width: 50 阅读全文
posted @ 2024-04-09 10:05 ayubene 阅读(27) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 14 下一页