提交 e4ec03f5 编写于 作者: 杨广俊's avatar 杨广俊

refresh

上级 88d25b7a
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
"build": "node build/build.js" "build": "node build/build.js"
}, },
"dependencies": { "dependencies": {
"@babel/polyfill": "^7.2.5",
"axios": "0.16.2", "axios": "0.16.2",
"better-scroll": "^0.1.15", "better-scroll": "^0.1.15",
"echarts": "^4.2.0-rc.2", "echarts": "^4.2.0-rc.2",
......
import "@babel/polyfill";
import Vue from 'vue' import Vue from 'vue'
import VueRouter from 'vue-router' import VueRouter from 'vue-router'
import routes from './router/router' import routes from './router/router'
......
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
</template> </template>
<script> <script>
import { mapActions } from 'vuex' import { mapActions, mapGetters } from 'vuex'
import { import {
m_search_search, m_search_search,
m_search_result_tab_switch m_search_result_tab_switch
...@@ -157,6 +157,11 @@ export default { ...@@ -157,6 +157,11 @@ export default {
ConfirmTip, ConfirmTip,
BackTop BackTop
}, },
computed: {
...mapGetters({
refreshNum: 'refreshNum'
})
},
watch: { watch: {
searchText(val){ searchText(val){
this.searchTextSub = val this.searchTextSub = val
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册