commit | 1f1606f09c9ca06ef857ddf018a9ae0fa4930bdb | [log] [tgz] |
---|---|---|
author | huibing.xie <xiehuibing@supwisdom.com> | 周一 8月 20 15:46:55 2018 +0800 |
committer | huibing.xie <xiehuibing@supwisdom.com> | 周一 8月 20 15:46:55 2018 +0800 |
tree | 96ea461c37524acf5e2ee1e2658b41c097d1d394 | |
parent | 0809cc7a2c09bbaaa29a2f2cefa5587f30d5fd64 [diff] [blame] |
离校前端框架,包括数据字典、工作队伍、新闻公告模块
diff --git a/leave-school-vue/src/directive/waves/index.js b/leave-school-vue/src/directive/waves/index.js new file mode 100644 index 0000000..65f9b30 --- /dev/null +++ b/leave-school-vue/src/directive/waves/index.js
@@ -0,0 +1,13 @@ +import waves from './waves' + +const install = function(Vue) { + Vue.directive('waves', waves) +} + +if (window.Vue) { + window.waves = waves + Vue.use(install); // eslint-disable-line +} + +waves.install = install +export default waves