vue
itsPeggie
这个作者很懒,什么都没留下…
展开
-
toggle - vue 点击组件弹出组件(学习笔记)
toggle - vue 点击组件弹出组件burger icon绑定事件 @click="toggle()"写toggle方法 methods:{ toggle: function () { this.isShow=!this.isShow } }在data中增加默认值data(){ return{ isShow:false } },引入dropdown组件(已写好) import DropDown原创 2021-03-03 12:50:53 · 957 阅读 · 0 评论 -
vuex学习—把双引号改成单引号
把双引号改成单引号创建文件 .prettierrc写入{“semi”: false;“singleQuote”: true}原创 2021-02-03 16:13:24 · 629 阅读 · 1 评论