File tree Expand file tree Collapse file tree 6 files changed +16
-15
lines changed Expand file tree Collapse file tree 6 files changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -156,9 +156,6 @@ export default {
156
156
this .histories = [... this .histories ]
157
157
},
158
158
},
159
- directives: {
160
- ripple,
161
- },
162
159
}
163
160
</script >
164
161
Original file line number Diff line number Diff line change 1
- // import ripple from './ripple/ripple';
2
-
3
- export default { }
1
+ import './ripple'
2
+ import './authorize'
Original file line number Diff line number Diff line change
1
+ import Vue from 'vue'
2
+
1
3
/* eslint-disable func-names */
2
- export default {
4
+ Vue . directive ( 'ripple' , {
3
5
inserted ( el , binding ) {
4
6
const cl = Array . from ( el . classList )
5
7
if ( cl . includes ( 'disabled' ) ) {
@@ -54,4 +56,6 @@ export default {
54
56
} , 1000 )
55
57
} )
56
58
} ,
57
- }
59
+ } )
60
+
61
+ export default Vue . directive ( 'ripple' )
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ import './autoJump'
2
+ import './axios'
Original file line number Diff line number Diff line change @@ -2,15 +2,14 @@ import '@babel/polyfill'
2
2
import Vue from 'vue'
3
3
import ElementUI from 'element-ui'
4
4
5
- import App from '@/App.vue'
5
+ import '@/lin/mixin'
6
+ import '@/lin/filter'
7
+ import '@/lin/plugins'
8
+ import '@/lin/directives'
9
+
6
10
import router from '@/router'
7
11
import store from '@/store'
8
-
9
- import '@/lin/plugins/axios'
10
- import '@/lin/plugins/autoJump'
11
- import '@/lin/mixin/global'
12
- import '@/lin/filter'
13
- import '@/lin/directives/authorize'
12
+ import App from '@/App.vue'
14
13
15
14
import StickyTop from '@/components/base/sticky-top/sticky-top'
16
15
import LIcon from '@/components/base/icon/lin-icon'
You can’t perform that action at this time.
0 commit comments