vue -elementUI
Ystarry
这个作者很懒,什么都没留下…
展开
-
vue基于vue-seamless-scroll添加动态类的实现
点击某行添加动态类,实现背景动态添加,并且移除其他元素的背景 ,点击最后一列的某一行要有弹窗。不能使用:class来动态添加类。目前想到的原生js去查找节点,因为存在html拷贝,不能使用:class来动态添加。js 模拟数据尽量多。...原创 2022-09-01 11:58:36 · 816 阅读 · 2 评论 -
vue脚手架路由的父子组件通信
当我们使用vue脚手架创建项目时,关于父子组件通过路由的方式声明关系,如下: const routes = [ { path: '/', redirect: '/home' }, { path: '/home', component: Home, redirect: '/query', children: [ { path: '/query', component: Days, name: 'days' }, { path: '/month原创 2021-08-02 16:35:09 · 469 阅读 · 0 评论