Commit 7601c77e by 李伟康

commit

1 parent c95aa539
...@@ -17,7 +17,7 @@ import store from './store' ...@@ -17,7 +17,7 @@ import store from './store'
import api from './api' import api from './api'
import { fetchConfig, cfg } from '@/config' import { fetchConfig, cfg } from '@/config'
import '@/assets/css/index.scss' import '@/assets/css/index.scss'
import { bus, tools, store as local, util } from './utils' import { bus, tools as local, util } from './utils'
import './utils/util' import './utils/util'
import 'components' import 'components'
import { components } from '@/plugins/vant' import { components } from '@/plugins/vant'
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
</template> </template>
<script type='text/ecmascript-6'> <script type='text/ecmascript-6'>
import store from '@/store'
export default { export default {
name: '', name: '',
data () { data () {
...@@ -52,8 +53,7 @@ export default { ...@@ -52,8 +53,7 @@ export default {
}, },
methods: { methods: {
refresh () { refresh () {
this.$store.state.app.showWindow = false store.dispatch('navigation')
this.$router.replace({ name: 'home' })
} }
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!