![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
文章平均质量分 60
琹箐
做喜欢做的事情,不喜欢的事情也要泰然处之!
展开
-
toFixed()*100保留的小数位数和预想的不一致
.toFixed(4)*100保留的小数位数竟然不是2;浮点溢出原创 2023-05-08 21:04:52 · 818 阅读 · 0 评论 -
fengMap 自定义dom 偏离实际位置;缩放时飘出地图所在区域
fengMap 自定义dom 偏离实际位置;缩放时飘出地图所在区域;fengMap bug排查方法原创 2023-03-02 20:49:00 · 571 阅读 · 0 评论 -
warningThere are multiple modules with names that only differ in casing.This can lead to unexpected
There are multiple modules with names that only differ in casing.This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.原创 2023-02-28 09:02:49 · 227 阅读 · 0 评论 -
vue2注册全局组件或全局引入组件库;全局引入组件后,使用报错:Unknown custom element: <xxx> - did you register the component corre
vue2注册全局组件或全局引入组件库原创 2022-12-03 10:30:23 · 2389 阅读 · 0 评论 -
js获取对象的部分属性形成新对象
js获取对象的部分属性形成新对象原创 2022-11-24 15:53:38 · 3347 阅读 · 1 评论 -
jquery中 offset()计算的偏移量 和 原生Dom计算的偏移量不一致;
jquery offset()和 原生dom属性计算的 相对偏移量不一致!position().left===offsetLeft原创 2022-11-23 09:09:11 · 508 阅读 · 0 评论 -
子组件回调后,无法在子组件中取到获取到回调函数执行后的值;回调总是在函数的最后执行
回调函数异步;回调函数后取不到最新值原创 2022-11-22 10:36:16 · 232 阅读 · 0 评论 -
computed计算方法不被调用的原因;只有在使用时才会被调用
computed计算方法不被调用的原因原创 2022-11-21 11:36:56 · 6759 阅读 · 0 评论 -
setup中使用 element-ui 的 Message弹框;setup中 间接使用 this的方法
setu中 间接使用this,使用element Message组件原创 2022-11-19 13:46:26 · 2360 阅读 · 0 评论 -
vue 刷新当前页面的方式
vue 刷新当前页面的方式原创 2022-11-04 11:10:23 · 4180 阅读 · 0 评论 -
前端同一个接口同时被调用两次的原因
同一个接口同时被调用两次的原因原创 2022-11-03 09:52:53 · 5625 阅读 · 0 评论 -
响应式对象添加 响应式属性的三种方式;响应式对象添加属性后页面不更新
响应式对象添加 响应式属性;响应式对象添加属性后页面不更新原创 2022-11-02 14:03:07 · 1198 阅读 · 0 评论 -
父组件内部接口调用 或 父组件加载 完后再加载子组件;控制子组件的加载时机
父组件中嵌套子组件时,控制子组件的加载时机;父组件加载完后再加载子组件原创 2022-10-24 23:55:09 · 3035 阅读 · 0 评论 -
rush管理的vue项目运行时报错:err:不存在复制文件‘webpack-dev-server‘ 不是内部或外部命令,也不是可运行的程序或批处理文件
rush管理的vue项目运行时报错:err:不存在复制文件'webpack-dev-server' 不是内部或外部命令,也不是可运行的程序或批处理文件原创 2022-09-22 11:45:17 · 601 阅读 · 0 评论 -
正则表达式匹配 0-10的正整数;使用细节
正则表达式使用细节;匹配0-10的正整数原创 2022-09-13 14:57:40 · 4463 阅读 · 0 评论 -
el-input/el-select placeholder样式修改
element placeholder样式修改原创 2022-09-04 23:47:23 · 8621 阅读 · 0 评论 -
flex布局独占一行实现方法
flex布局某个item独占一行原创 2022-08-27 16:12:43 · 10733 阅读 · 0 评论 -
vue watch报错:Error in callback for watcher “xxx“: “TypeError: Cannot read properties of undefined ...
Error in callback for watcher "flowCategory": "TypeError: Cannot read properties of undefined (reading 'apply')"watch监听报错原创 2022-08-20 16:05:43 · 48072 阅读 · 15 评论 -
vue el-input 输入框输入不了
el-input无法输入原创 2022-08-16 20:45:52 · 9718 阅读 · 1 评论 -
vue在sass或css中使用变量,动态改变样式
scc和css动态变化样式原创 2022-07-27 21:12:11 · 7733 阅读 · 0 评论 -
js传参时传入 string有数据;传入 number时没有数据;2[0]是对的!number类型数据可以取下标
js number类型能够取下标,返回值为 undefined。原创 2022-07-23 20:13:33 · 417 阅读 · 0 评论 -
compostion-api(setup中) watch使用细节
组合式api(setup函数)中 watch监听变量变化原创 2022-07-22 22:45:16 · 529 阅读 · 0 评论 -
gitlab提交代码报错:short read while indexing xxxx.vue;falied to insert into..unable to index file xxx.vue;
gitlab 提交代码报错:fatal:adding files failed;unable to index file xxx.vue;short read while indexing xxxx.vue;falied to insert into database原创 2022-07-01 21:47:53 · 3865 阅读 · 0 评论 -
async导致函数结果出乎意料,改变原来代码的意图;await is only valid in async functions and the top level bodies of modules
await is only valid in async functions and the top level bodies of modules;async函数值返回值接收原创 2022-05-24 14:29:49 · 14170 阅读 · 2 评论 -
原生js使用getElementsByClassName获取到DOMS,使用forEach方法报错:Uncaught TypeError:xxx.forEach is not a function
getElementsByClassName获取到DOMS,使用forEach方法报错;看着像数组,但不能使用数组的方法forEach和map,filter等原创 2022-05-12 16:17:06 · 2747 阅读 · 0 评论 -
element在线运行网站codepen报错:Uncaught ReferenceError: Vue is not defined
element在线运行网站codepen报错原创 2022-04-24 17:32:07 · 5224 阅读 · 8 评论 -
图片从前端回传到后端实现思路总结
图片从前端回传到后端实现思路原创 2022-04-22 18:19:49 · 8916 阅读 · 0 评论 -
鼠标悬浮效果:css:hover;js:mouseover,mouseout
鼠标悬浮效果js和css实现方式原创 2022-04-15 18:21:13 · 6464 阅读 · 0 评论 -
对象数组获取满足条件的数据(filter);对数据做相同的处理(map);去除对象数组中的undefined
map和filter使用场景;去除undefined原创 2022-04-13 10:05:07 · 2562 阅读 · 0 评论 -
jquery获取标签宽度时报错:Uncaught TypeError: $(...)[0].width is not a function
$(...)[0].width is not a function;jquery获取宽高报错原创 2022-04-12 17:41:01 · 725 阅读 · 1 评论 -
今天的觉悟
觉悟原创 2022-04-08 16:34:06 · 240 阅读 · 0 评论 -
base64和普通字符串互转---window.btoa && window.atob;图片的base64格式
base64和普通字符串互转;图片转base64的方式原创 2022-04-06 11:06:55 · 796 阅读 · 0 评论 -
通过原生DOM方法获取Vue组件后,获取组件中的data和方法
getElementById、getElementsByClassName获取到Vue组件后,希望调用Vue组件中方法,访问组件中的数据原创 2022-03-31 15:39:19 · 3455 阅读 · 0 评论 -
打印或html2Canvas 转图片时表格左边或右边边框与其他地方相比变窄(不一致)、部分内容丢失
打印,html2Canvas转图片时,表格部分边框变细;,html2Canvas转图片时,部分内容丢失原创 2022-03-30 14:57:58 · 3064 阅读 · 2 评论 -
el-select下拉框没有数据
el-select给options赋值后,下拉框无数据原创 2022-03-21 14:54:17 · 11261 阅读 · 5 评论 -
git 使用相关细节总结:commit及push,拉错代码回退
git使用细节总结原创 2022-03-11 15:19:48 · 3391 阅读 · 0 评论 -
IconFont使用方式简介
Iconfont在线和本地引入方式简介原创 2022-03-02 16:16:10 · 23422 阅读 · 0 评论 -
每日一句^--^
每日一句原创 2022-02-28 13:50:22 · 137 阅读 · 2 评论 -
内容过长时,文字溢出处理
div宽度固定时文字溢出处理原创 2022-02-10 09:11:34 · 1444 阅读 · 0 评论 -
2020-03-17
Java处理以空格或其它符号分割的任意长度的字符串当无法判断是否输入结束时,可以用Scanner类提供的nextLine方法就整行数据都读入String型变量中,再用正则表达式根据空格对字符串进行分割。Scanner sc=New Scanner(System.in);String s=sc.nextLine();String[] sArray=s.split(" ");...原创 2020-03-17 16:53:50 · 67 阅读 · 0 评论