vue
vue2、vue3
is今夕
这个作者很懒,什么都没留下…
展开
-
编译器和运行时(Vue2)
You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.原创 2023-03-29 17:57:22 · 13 阅读 · 0 评论 -
发布订阅模式
发布订阅模式理解与实践原创 2023-05-03 15:06:12 · 112 阅读 · 0 评论 -
echart图表渲染合并策略
图表渲染时的合并策略,是合并、新增还是删除原创 2023-04-13 11:25:14 · 1804 阅读 · 0 评论 -
keep-alive缓存机制
1. 路由2.动态组件。原创 2023-04-10 17:25:49 · 287 阅读 · 0 评论 -
Pinia
Pinia原创 2023-03-29 17:40:30 · 42 阅读 · 0 评论 -
Vue2 API-源码解析
vue2 api的一些源码解析原创 2023-04-11 17:31:46 · 658 阅读 · 0 评论 -
vue-router实现原理
对于vue-router hash模式、history模式的两种原理解析原创 2023-03-29 17:46:06 · 258 阅读 · 0 评论 -
vue3 之 ref、reactive
ref、reactive的区别及用法注意事项原创 2022-11-17 17:11:27 · 214 阅读 · 0 评论 -
vue3+echarts bug -- Cannot read properties of undefined (reading ‘type‘)
vue3+echarts bug原创 2022-11-07 17:46:38 · 1299 阅读 · 0 评论 -
$attrs
vue2原创 2022-09-19 17:56:08 · 143 阅读 · 0 评论 -
vue2 之 父子组件周期的先后顺序
vue父子组件生命周期先后顺序原创 2022-09-19 16:13:14 · 186 阅读 · 0 评论 -
this.$router与this.$route
做个笔记以便回顾this.$router是挂在到全局的,一般写在main.js的vue创建中this.&router表示当前的路由对象原创 2021-08-11 10:55:39 · 164 阅读 · 0 评论 -
重复push同一个路由
const originalPush = Router.prototype.pushconsole.log(originalPush)/*VueRouter.prototype.push = function push(location, onComplete, onAbort) { var this$1 = this; console.log("222", location, onComplete, onAbort, typeof Promise) // $flow-di.原创 2022-03-01 10:19:10 · 401 阅读 · 0 评论 -
Vue.use(xxx)、Vue.prototype.$xxx、Vue.prototype.xxx的区别
Vue.use(xxx)官方文档介绍,vue.use是用来注册插件的插件有什么具体的特征呢?大概意思就是要暴露出来一个install方法,在这个方法里添加一些全局的内容。所以如果有的插件里面暴露出了install方法,就可以用vue.use去引用它比如element插件,在node_module/element-ui/src/index.js 文件中发现,插件会暴露出来一个install方法Vue.prototype.$xxxVue.prototype.x...原创 2021-09-30 14:50:18 · 467 阅读 · 0 评论 -
vue-pdf - APP中预览pdf
123131原创 2021-11-09 15:46:13 · 712 阅读 · 0 评论