更新任务列表等
This commit is contained in:
@@ -6,7 +6,15 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'App'
|
||||
name: 'App',
|
||||
mounted() {
|
||||
if (this.$store.getters.token) {
|
||||
this.$store.dispatch('chat/initWebSocket') // 初始化websocket
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss">
|
||||
|
||||
Reference in New Issue
Block a user