- 博客(168)
- 收藏
- 关注
原创 Vue error:can not find module ‘@/views/××ב
Vue error:can not find module '@/views/×××'
2024-04-15 09:33:04
668
原创 工作总结5
taro工作总结,map,解决蒙层的滚动穿透问题,(in promise)MiniProgramError{'errMsg':'navigateTo':fail:page limit exceeded:10}}vue项目本地可以运行 上线后报错Uncaught SyntaxError: Unexpected token ‘<‘get请求对象的时候记得转JSON
2024-03-29 15:24:56
426
原创 npm ERR! code CERT_HAS_EXPIRED npm ERR! errno CERT_HAS_EXPIRED npm ERR! request to https://registry.
npm ERR! code ETIMEDOUTnpm ERR! errno ETIMEDOUTnpm ERR! network request to https://registry.npmjs.org/graceful-readlink failed, reason: connect ETIMEDOUT 104.16.25.35:443npm ERR! network This is a problem related to network connectivity.npm ERR! networ
2024-03-05 11:20:02
1008
原创 Vue.config文件里边的publicPath的配置使用
如果你的项目里面的静态文件都放在public文件中,那么使用的时候要使用publicPath这个变量,防止打包后静态文件找不到;你需要通过绝对路径来引用它们。因为:任何放置在 public 文件夹的静态资源都会被简单的复制,而不经过 webpack;相当于打包过后的路径上多一个文件夹的名字。
2024-03-05 11:07:49
4559
原创 node.js基础-02
http协议对于编程工程师很重要,不管你是前端工程师还是后端工程师。所以,让我们一起学习下。让我们看下边图片'http’帮助浏览器和服务器正确得传输内容。
2024-02-05 18:00:21
1082
1
原创 Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-
Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "dialogVisible"
2024-01-11 10:46:11
407
原创 前端基础:Vue搞笑白话文(工作之余瞎写)
data:{}与data(){return{}} Vue.prototpe VueComponent.prototype
2023-12-27 11:38:38
518
原创 前端工作总结03
因为我们的列表中有些会有签发signMark的值,有些没有,我用map方法返回相应数组某些值,返回一些新数组,如果没有返回的是[undefined],此时我们的length为1,所以我们可以通过arr.indexOf(undefined)来反映是否有这个值,通过includes()来判断是否数组中是否有某些值。用map()方法,includes(),indexOf()三个结合使用判断。
2023-12-01 09:21:32
553
原创 前端Math属性方法汇总集锦
Math是一个内置对象,它拥有一些数学常数属性和数学函数方法。Math不是一个函数对象。Math用于类型。它不支持。与其他全局对象不同的是,Math不是一个构造器。Math的所有属性与方法都是静态的。引用圆周率的写法是Math.PI,调用正余弦函数的写法是x是要传入的参数。Math的常量是使用 JavaScript 中的全精度浮点数来定义的。
2023-11-22 19:52:03
305
原创 Vue中的watch的使用
1.表达式。2.methods3.filters4.computed5.生命周期内实现数据修饰vuewatch的使用Vue运行机制图
2023-11-15 12:50:09
215
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人