Skip to content

Commit

Permalink
提交暂存
Browse files Browse the repository at this point in the history
  • Loading branch information
lxinr committed Sep 9, 2017
1 parent 9956826 commit 364915b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"vue": "^2.3.3",
"vue-masonry": "^0.10.3",
"vue-router": "^2.3.1",
"vue-scroll-behavior": "^0.1.6",
"vuex": "^2.3.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/page/onelist.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<scroll-more :scroller="scroller" :loading="moreLoading" @load="loadMore" />
<!-- 加载中 -->
<loading :loading="loading" />
<show-btn @btnShow="getBool" :showImg="bool"></show-btn>
<!-- <show-btn @btnShow="getBool" :showImg="bool"></show-btn> -->
</div>
</template>

Expand Down
6 changes: 4 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ import Vue from 'vue'
import App from './App'
import Vuex from 'vuex'
import axios from 'axios'
import VueRouter from 'vue-router'
// import VueRouter from 'vue-router'
import router from './router'
import vueScrollBehavior from 'vue-scroll-behavior'
Vue.use(vueScrollBehavior, { router: router })

import loading from './components/common/loading'
import scrollMore from './components/common/scrollMore'
Expand All @@ -22,7 +24,7 @@ import moment from 'moment';
Object.defineProperty(Vue.prototype, '$moment', { value: moment });

Vue.use( Vuex )
Vue.use( VueRouter )
// Vue.use( VueRouter )
Vue.prototype.$http = axios
Vue.config.productionTip = false

Expand Down

0 comments on commit 364915b

Please sign in to comment.