Commit d23477dd51c4682703ac3954c2c52a426cbcd58f
1 parent
fa5b256b
修复组件缺未定义的问题
Showing
1 changed file
with
3 additions
and
2 deletions
src/main.js
| ... | ... | @@ -6,9 +6,10 @@ import VueHead from "vue-head"; |
| 6 | 6 | import sha1 from "sha1"; |
| 7 | 7 | import 'mint-ui/lib/style.css'; |
| 8 | 8 | import { Toast, Indicator,InfiniteScroll } from "mint-ui"; |
| 9 | -import { Rate, Popup, Lazyload, Search, PullRefresh, Picker } from "vant"; | |
| 9 | +import { Rate, Popup, Lazyload, Search, PullRefresh, Picker, Image, ImagePreview, Tab, Tabs} from "vant"; | |
| 10 | 10 | import App from "./App"; |
| 11 | 11 | import IdCard from './common/IdCard'; |
| 12 | +import VueClipboard from 'vue-clipboard2' | |
| 12 | 13 | import VueBus from 'vue-bus'; |
| 13 | 14 | Vue.use(Vuex); |
| 14 | 15 | Vue.use(VueResource); |
| ... | ... | @@ -20,7 +21,7 @@ Vue.use(PullRefresh); |
| 20 | 21 | Vue.use(Picker); |
| 21 | 22 | Vue.use(Image); |
| 22 | 23 | Vue.use(ImagePreview); |
| 23 | -Vue.use(VueClipboard) | |
| 24 | +Vue.use(VueClipboard); | |
| 24 | 25 | Vue.use(Tab); |
| 25 | 26 | Vue.use(Tabs); |
| 26 | 27 | Vue.use(Lazyload, { | ... | ... |