![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
米方
倔强的一枚小码
展开
-
vue 实现天数滚动
【代码】vue 实现天数滚动。原创 2023-03-29 11:41:53 · 69 阅读 · 0 评论 -
vue 修改数组对象某一项的属性
...是把原来所有的属性展开,state是把原来的属性的值更改了原创 2022-03-31 10:40:17 · 725 阅读 · 0 评论 -
原生JS实现日历组件
<template> <section class="wh_container"> <div class="wh_content_all"> <div class="wh_top_changge"> <li @click="PreMonth(myDate, false)"> <div class="wh_jiantou1"></div> </.原创 2022-01-19 14:52:40 · 709 阅读 · 0 评论 -
浅谈vue refs和props的区别
常见场景:有一个子组件,父组件需要调用里面的子组件的方法,可以这样操作:<child ref="mychild"></child>父组件:this.$refs.mychild.子组件方法() =>这样就可以调用子组件的方法 this.$refs.cardForm.scShowFrom = true =>这样就可以修改子组件的属性那么这种修改子组件属性的方法和props传进去的更改子组件的方法有何不同? ...原创 2021-08-30 10:56:04 · 802 阅读 · 0 评论