开心做技术
码龄7年
关注
提问 私信
  • 博客:31,205
    31,205
    总访问量
  • 7
    原创
  • 2,081,380
    排名
  • 4
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:浙江省
  • 加入CSDN时间: 2017-11-07
博客简介:

weixin_40974684的博客

查看详细资料
个人成就
  • 获得15次点赞
  • 内容获得13次评论
  • 获得57次收藏
  • 代码片获得122次分享
创作历程
  • 1篇
    2022年
  • 6篇
    2021年
成就勋章
TA的专栏
  • vue
    5篇
  • ant Design
    1篇
创作活动更多

如何做好一份技术文档?

无论你是技术大神还是初涉此领域的新手,都欢迎分享你的宝贵经验、独到见解与创新方法,为技术传播之路点亮明灯!

353人参与 去创作
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

typescript的? ?? ?.

和||的意思有点相似,但是又有点区别,?相较||比较严谨,当值等于0的时候||就把他给排除了,但是?是指可选参数,可以理解为参数自动加上undefined。
原创
发布博客 2022.07.29 ·
235 阅读 ·
0 点赞 ·
1 评论 ·
0 收藏

简单粗暴的解决内存泄漏问题

Vue.mixin({ destroyed() { // 混入释放资源,解决内存泄漏问题 this._watcher = null; this._watchers = null; this.$options = null; this._computedWatchers = null; this.$vnode = null; this.$children = null; this._vnode = null; this._props
原创
发布博客 2021.06.03 ·
235 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Ant Design组件table key 问题

没有设置的key时,会出现以下警告Warning: [antd: Table] Each record in dataSource of table should have a unique `key` prop, or set `rowKey` of Table to an unique primary key设置key<a-table bordered :columns="columns" :data-source="tableData" :
原创
发布博客 2021.05.17 ·
1364 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

JSEncrypt 加密解密

将字符串加密解密插件JSEncrypt使用文档说明加密解密对于content过长的要进行分段解密分段解密
原创
发布博客 2021.04.30 ·
24431 阅读 ·
14 点赞 ·
11 评论 ·
51 收藏

vue.use()与vue.install()

关于vue.use()与vue.install()vue官方文档官网是这样写的:https://cn.vuejs.org/v2/guide/plugins.html应用可对http进行一下封装将get 和post 方法作为vue 的实例方法const createHttpPlugin = () => { return { install(Vue) { Vue.prototype.$post = axios.post; Vue.prototype.$get
原创
发布博客 2021.04.30 ·
1048 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

json与xml互相转化问题、插件fast-xml-parser

使用插件: fast-xml-parser使用说明:https://www.npmjs.com/package/fast-xml-parserjson转xmlvar Parser = require("fast-xml-parser").j2xParser;//default options need not to setvar options = { attributeNamePrefix : "@_", attrNodeName: "@", //default is false
原创
发布博客 2021.04.29 ·
3107 阅读 ·
1 点赞 ·
1 评论 ·
5 收藏

白屏问题--热更新(vue.config.js配置)-form表单(ant)

由于登录后,将用户信息写入到本地文件,导致项目热更新,因此导致白屏问题,解决方案:在vue.config.js配置文件中 ,设置忽略此文件 resolve(’./electronStore.json’) devServer: { watchOptions: { ignored: ['**/node_modules', resolve('./public'), resolve('./projects'), resolve('./electronStore.json')], }
原创
发布博客 2021.04.20 ·
785 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏