前端
文章平均质量分 63
琹箐
做喜欢做的事情,不喜欢的事情也要泰然处之!
展开
-
git拉代码:报错无权限fatal: Authentication failed for ‘http://pcgit.xxx.com/xxx/‘
git拉取或提交代码:fatal:Authentication failed for xxxxx原创 2024-04-07 11:42:31 · 934 阅读 · 0 评论 -
toFixed()*100保留的小数位数和预想的不一致
.toFixed(4)*100保留的小数位数竟然不是2;浮点溢出原创 2023-05-08 21:04:52 · 869 阅读 · 0 评论 -
fengMap路径规划(导航)报错:起点不在地图底板内部;人行导航和车行导航的区别
fengMap路径规划(导航)报错;人行导航和车行导航的区别原创 2023-04-10 20:13:59 · 571 阅读 · 0 评论 -
fengMap 自定义dom 偏离实际位置;缩放时飘出地图所在区域
fengMap 自定义dom 偏离实际位置;缩放时飘出地图所在区域;fengMap bug排查方法原创 2023-03-02 20:49:00 · 581 阅读 · 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 · 273 阅读 · 0 评论 -
rush update运行报错:Running postinstall script, failed in ;Packages are hard linked from the content-add
Packages are hard linked from the content-addressable store to the virtual store. Content-addressable store is at: D:\comen-web-3\common\temp\pnpm-store\v3;Running postinstall script, failed inCommandfailedwithexitcode3221225725.原创 2023-02-22 22:06:11 · 4149 阅读 · 0 评论 -
watch监听不到 props变量的变化
watch监听不到props变化,响应式数据不要直接用=赋值原创 2023-02-11 12:19:58 · 3904 阅读 · 0 评论 -
vue2注册全局组件或全局引入组件库;全局引入组件后,使用报错:Unknown custom element: <xxx> - did you register the component corre
vue2注册全局组件或全局引入组件库原创 2022-12-03 10:30:23 · 2495 阅读 · 0 评论 -
js获取对象的部分属性形成新对象
js获取对象的部分属性形成新对象原创 2022-11-24 15:53:38 · 3509 阅读 · 1 评论 -
jquery中 offset()计算的偏移量 和 原生Dom计算的偏移量不一致;
jquery offset()和 原生dom属性计算的 相对偏移量不一致!position().left===offsetLeft原创 2022-11-23 09:09:11 · 555 阅读 · 0 评论 -
子组件回调后,无法在子组件中取到获取到回调函数执行后的值;回调总是在函数的最后执行
回调函数异步;回调函数后取不到最新值原创 2022-11-22 10:36:16 · 256 阅读 · 0 评论 -
computed计算方法不被调用的原因;只有在使用时才会被调用
computed计算方法不被调用的原因原创 2022-11-21 11:36:56 · 7467 阅读 · 0 评论 -
setup中使用 element-ui 的 Message弹框;setup中 间接使用 this的方法
setu中 间接使用this,使用element Message组件原创 2022-11-19 13:46:26 · 2500 阅读 · 0 评论 -
vue 刷新当前页面的方式
vue 刷新当前页面的方式原创 2022-11-04 11:10:23 · 4242 阅读 · 0 评论 -
前端同一个接口同时被调用两次的原因
同一个接口同时被调用两次的原因原创 2022-11-03 09:52:53 · 5886 阅读 · 0 评论 -
响应式对象添加 响应式属性的三种方式;响应式对象添加属性后页面不更新
响应式对象添加 响应式属性;响应式对象添加属性后页面不更新原创 2022-11-02 14:03:07 · 1234 阅读 · 0 评论 -
Invalid watch source: 8700713675579406. A watch source can only be a getter/effect function, a ref
Invalid watch source: 8700713675579406. A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.原创 2022-11-02 09:20:29 · 2139 阅读 · 0 评论 -
父组件内部接口调用 或 父组件加载 完后再加载子组件;控制子组件的加载时机
父组件中嵌套子组件时,控制子组件的加载时机;父组件加载完后再加载子组件原创 2022-10-24 23:55:09 · 3214 阅读 · 0 评论 -
setup中使用ref
setup及method中使用 ref;父组件使用子组件的方法和属性原创 2022-09-27 20:51:30 · 2413 阅读 · 0 评论 -
rush管理的vue项目运行时报错:err:不存在复制文件‘webpack-dev-server‘ 不是内部或外部命令,也不是可运行的程序或批处理文件
rush管理的vue项目运行时报错:err:不存在复制文件'webpack-dev-server' 不是内部或外部命令,也不是可运行的程序或批处理文件原创 2022-09-22 11:45:17 · 619 阅读 · 0 评论 -
正则表达式匹配 0-10的正整数;使用细节
正则表达式使用细节;匹配0-10的正整数原创 2022-09-13 14:57:40 · 4562 阅读 · 0 评论 -
el-input/el-select placeholder样式修改
element placeholder样式修改原创 2022-09-04 23:47:23 · 8926 阅读 · 0 评论 -
flex布局独占一行实现方法
flex布局某个item独占一行原创 2022-08-27 16:12:43 · 11136 阅读 · 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 · 49239 阅读 · 15 评论 -
vue el-input 输入框输入不了
el-input无法输入原创 2022-08-16 20:45:52 · 9841 阅读 · 1 评论 -
vue在sass或css中使用变量,动态改变样式
scc和css动态变化样式原创 2022-07-27 21:12:11 · 7874 阅读 · 0 评论 -
js传参时传入 string有数据;传入 number时没有数据;2[0]是对的!number类型数据可以取下标
js number类型能够取下标,返回值为 undefined。原创 2022-07-23 20:13:33 · 458 阅读 · 0 评论 -
compostion-api(setup中) watch使用细节
组合式api(setup函数)中 watch监听变量变化原创 2022-07-22 22:45:16 · 602 阅读 · 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 · 4124 阅读 · 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 · 14739 阅读 · 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 · 2806 阅读 · 0 评论 -
element在线运行网站codepen报错:Uncaught ReferenceError: Vue is not defined
element在线运行网站codepen报错原创 2022-04-24 17:32:07 · 5305 阅读 · 8 评论 -
图片从前端回传到后端实现思路总结
图片从前端回传到后端实现思路原创 2022-04-22 18:19:49 · 8988 阅读 · 0 评论 -
鼠标悬浮效果:css:hover;js:mouseover,mouseout
鼠标悬浮效果js和css实现方式原创 2022-04-15 18:21:13 · 6601 阅读 · 0 评论 -
对象数组获取满足条件的数据(filter);对数据做相同的处理(map);去除对象数组中的undefined
map和filter使用场景;去除undefined原创 2022-04-13 10:05:07 · 2613 阅读 · 0 评论 -
jquery获取标签宽度时报错:Uncaught TypeError: $(...)[0].width is not a function
$(...)[0].width is not a function;jquery获取宽高报错原创 2022-04-12 17:41:01 · 755 阅读 · 1 评论 -
el-loading可以看到loading效果,但可以被点击
可以看到loading效果,但是仍然可以被点击原创 2022-04-09 17:15:08 · 6423 阅读 · 2 评论 -
vue在html标签 {{}} 中调用函数的方法
vue在html标签 {{}} 中调用函数原创 2022-04-09 16:15:37 · 18068 阅读 · 0 评论 -
通过原生DOM方法获取Vue组件后,获取组件中的data和方法
getElementById、getElementsByClassName获取到Vue组件后,希望调用Vue组件中方法,访问组件中的数据原创 2022-03-31 15:39:19 · 3594 阅读 · 0 评论 -
打印或html2Canvas 转图片时表格左边或右边边框与其他地方相比变窄(不一致)、部分内容丢失
打印,html2Canvas转图片时,表格部分边框变细;,html2Canvas转图片时,部分内容丢失原创 2022-03-30 14:57:58 · 3216 阅读 · 2 评论