2021年11月5日
摘要: 总结: 自定义指令总结: 一、定义语法: (1)局部指令: new Vue({ directives:{指令名,配置对象} }) 或者 new Vue({ directives:{指令名,回调函数} }) (2)全局指令: Vue.directive(指令名,配置对象) 或 Vue.directiv 阅读全文
posted @ 2021-11-05 10:09 我不想一直当菜鸟 阅读(61) 评论(0) 推荐(0) 编辑