Open zj261788 opened 1 month ago
http://localhost:4000/2023/01/04/vue2%E8%87%AA%E5%AE%9A%E4%B9%89%E6%8C%87%E4%BB%A4/?t=1720590851183
指令批量注册 src下创建directive文件夹并创建index.js中代码如下123456789import resize from './resize'const install = function(Vue) { Vue.directive('resize',resize)}if (window.Vue) { win
文档详细
1
3
5
7
8
http://localhost:4000/2023/01/04/vue2%E8%87%AA%E5%AE%9A%E4%B9%89%E6%8C%87%E4%BB%A4/?t=1720590851183
指令批量注册 src下创建directive文件夹并创建index.js中代码如下123456789import resize from './resize'const install = function(Vue) { Vue.directive('resize',resize)}if (window.Vue) { win