style:组件修改
Showing
3 changed files
with
5 additions
and
11 deletions
1 | import dialogBox from './dialogBox.vue' | 1 | import dialogBox from '@/components/DialogBox/dialogBox.vue' |
2 | import lbTable from '@/components/lb-table/lb-table.vue' | ||
2 | export default { | 3 | export default { |
3 | install: (Vue) => { | 4 | install: (Vue) => { |
4 | Vue.component('dialogBox', dialogBox); | 5 | Vue.component('dialogBox', dialogBox); |
6 | Vue.component('lbTable', lbTable); | ||
5 | } | 7 | } |
6 | } | 8 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
src/components/lb-table/index.js
deleted
100644 → 0
... | @@ -6,8 +6,7 @@ import 'normalize.css/normalize.css' // a modern alternative to CSS resets | ... | @@ -6,8 +6,7 @@ import 'normalize.css/normalize.css' // a modern alternative to CSS resets |
6 | import Element from 'element-ui' | 6 | import Element from 'element-ui' |
7 | import './styles/element-variables.scss' | 7 | import './styles/element-variables.scss' |
8 | import '@/styles/index.scss' // global css | 8 | import '@/styles/index.scss' // global css |
9 | import lbTable from './components/lb-table/index' | 9 | import Base from './components/Base/base' |
10 | import dialogBox from './components/dialogBox/index' | ||
11 | 10 | ||
12 | import './image/icons' // icon | 11 | import './image/icons' // icon |
13 | import store from './store' | 12 | import store from './store' |
... | @@ -16,8 +15,7 @@ import _ from 'lodash' | ... | @@ -16,8 +15,7 @@ import _ from 'lodash' |
16 | 15 | ||
17 | import * as filters from './filters' // global filters | 16 | import * as filters from './filters' // global filters |
18 | Vue.use(Element, { size: 'small' }) | 17 | Vue.use(Element, { size: 'small' }) |
19 | Vue.use(lbTable) | 18 | Vue.use(Base) |
20 | Vue.use(dialogBox) | ||
21 | Object.keys(filters).forEach(key => { | 19 | Object.keys(filters).forEach(key => { |
22 | Vue.filter(key, filters[key]) | 20 | Vue.filter(key, filters[key]) |
23 | }) | 21 | }) | ... | ... |
-
Please register or sign in to post a comment