- 博客(13)
- 收藏
- 关注
原创 未找到 van-dialog 节点,请确认 selector 及 context 是否正确
未找到 van-dialog 节点,请确认 selector 及 context 是否正确
2023-05-22 13:33:54
126
原创 解决 git 无权访问问题
git pull 报 fatal: unable to access ‘https://gitee.com/自己的项目/’: Failed to connect to 127.0.0.1 port 10800: Connection refused问题。
2022-10-25 18:20:52
1759
原创 Vue+Element UI的国际语言插件i18n导致DatePicker日期控件英文错乱
Vue+Element UI的国际语言插件i18n导致DatePicker日期控件英文错乱。
2022-08-11 17:33:54
1359
原创 git pull 报错RPC failed;curl 56 Recv failure:Connection was resetB/s
git pull 报错 RPC failed;curl 56 Recv failure:Connection was resetB/s
2022-08-04 17:59:00
888
1
原创 ie浏览器下element-ui 部分表单元素高度异常
这样的布局在其他浏览器下都是正常的,唯独在ie浏览器下会出现高度异常经过检查发现 el-form-item高度是38px(正常),异常el-form-item高度(39.4px),加了必录校验提示引起告诉异常解决办法: 给:not(.is-no-asterisk).el-form-item.is-required .el-form-item__label-wrap > .el-form-item__label::before, :not(.is-no-asterisk).el-form-it
2021-08-09 15:42:33
829
4
原创 git commit -m 提交忽略代码校验
git commit -m 忽略代码校验git 提交代码时候报eslint --fix found some errors. Please fix them and try committing again这个错误,解决:将git commit -m “忽略代码校验” 后边加上 ‘–no-verify’ 就可以正常提
2021-02-01 10:17:23
4151
2
原创 js 重新定义input框光标位置
addDian(emoji){ var elInput = document.querySelector('.textInput'); var startPos = elInput.selectionStart; var endPos = elInput.selectionEnd; if (startPos === undefined || endPos === undefined) return var txt = elInput.value;.
2020-08-10 10:09:09
291
原创 vue使用clipboardjs
1首先需要用npm下载npm install clipboard --save单独封装clipboard.js文件import Vue from 'vue';import Clipboard from 'clipboard';function clipboardSuccess() { Vue.prototype.$message({ message: '复制成功', type: 'success', duration: 1500, });}function
2020-07-18 19:19:52
1448
原创 vue组件传值
vue组件传值在日常开发中比较常见,所以今天就把这个拉出来写一次。一般有三种传值方式:1.父传子、2.子传父、3.兄弟组件之间通信1,父传子父组件的结构<template> 父组件 <com-a :message="msg"></com-a></template><script> export default { data () { return {
2020-07-15 15:00:02
60
原创 js 数组的方法
整理了以下数组方法join()push()和pop()shift() 和 unshift()sort()reverse()concat()slice()splice()indexOf()和 lastIndexOf() forEach() map() filter() every() some() find()inclcudes()findIndex()1、j...
2020-05-07 17:14:36
121
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人