Vue 自定义的几个指令
摘要:
Vue 自定义指令: Vue.directive(id, [definition]) 参数: {string}: id {Function | Object} [definition] 用法: // 注册 Vue.directive('my-directive', { bind: function 阅读全文
posted @ 2020-12-17 17:05 MK24 阅读(421) 评论(0) 推荐(0) 编辑