Commit 7601c77e by 李伟康

commit

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