![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
文章平均质量分 57
nicole bai
这个作者很懒,什么都没留下…
展开
-
yarn常用命令总结
缓存了每个下载过的包,所以再次使用时无需重复下载。参考:https://juejin.cn/post/6844904111083634695。官网地址:https://www.yarnpkg.cn/getting-started。在执行代码之前,yarn 会通过算法校验每个安装包的完整性。记录被确切安装上的模块的版本,防止拉取到不同版本的代码,产生的bug。使用详细、简洁的锁文件格式和明确的安装算法,yarn中文文档:yarn.bootcss.com/发布的一款取代npm的包管理工具。内置的软件包管理器。原创 2023-06-26 15:21:05 · 983 阅读 · 0 评论 -
vue3的组合式API及一些新变化
vue3的组合式API及一些新变化原创 2022-11-14 09:39:47 · 336 阅读 · 0 评论 -
vue项目中使用md5加密、crypto-js加密、国密sm3、国密sm4
项目中用到的加密解密方法原创 2022-08-23 10:33:18 · 11553 阅读 · 1 评论 -
vue中的内存泄漏
Vue如何释放内存(防止内存泄漏)1、在mounted/created 钩子中绑定了DOM/BOM 对象中的事件,需要在beforeDestroy 中做对应解绑处理2、在mounted/created 钩子中使用了第三方库初始化,需要在beforeDestroy 中做对应销毁处理eg: this.map.remove()3、组件中使用了定时器setTimeout,setInterval,需要在beforeDestroy 中做对应销毁处理this.timer && clearInte原创 2022-08-22 17:24:55 · 3963 阅读 · 0 评论 -
node环境配置
add pagecreate interactive buttonpreview them in the browseradd widgetsbuild interactionspublish prototypescreate masters原创 2021-02-03 11:18:14 · 142 阅读 · 0 评论 -
vue动态改变el-table表格列
<template> <div class="conter"> <el-table :data="tableData" stripe border style="width: 98%" ref="tableDataRef"> <!-- <el-table-column type="selection" width="55" align="center"></el-table-column> --> &原创 2020-12-27 17:51:12 · 1565 阅读 · 0 评论 -
vue 路由传参
一、使用 router-link 路由导航父组件: <router-link to= "/跳转路径/传入的参数"></router-link>子组件: this.$route.params.num 接收父组件传入的参数举例:父: <router-link to="/a/123"></router-link>子: mounted(){ this.num = this.$route.params.num } 路由配置: { path:'/a/原创 2020-10-29 10:11:06 · 330 阅读 · 0 评论 -
vue2 和 vue3 的区别
vue2 和 vue3 的区别:参考文章: https://blog.csdn.net/FungLeo/article/details/106317176原创 2020-10-15 15:38:02 · 182 阅读 · 0 评论