Skip to content
Snippets Groups Projects
Commit 2282135b authored by Pan's avatar Pan
Browse files

refine:refine directive waves

parent 329f3b37
No related branches found
No related tags found
No related merge requests found
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
File moved
File moved
......@@ -26,7 +26,7 @@
<script>
import PanThumb from '@/components/PanThumb'
import MdInput from '@/components/MDinput'
import waves from '@/directive/waves.js' // 水波纹指令
import waves from '@/directive/waves/index.js' // 水波纹指令
export default {
components: {
......
......@@ -151,7 +151,7 @@
<script>
import { fetchList, fetchPv } from '@/api/article'
import waves from '@/directive/waves.js'// 水波纹指令
import waves from '@/directive/waves/index.js' // 水波纹指令
import { parseTime } from '@/utils'
const calendarTypeOptions = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment