工作台

This commit is contained in:
唐明明
2022-12-26 09:31:55 +08:00
parent f7d357f738
commit 1f3f6b230a
218 changed files with 19796 additions and 0 deletions

27
pages/user/set.vue Normal file
View File

@@ -0,0 +1,27 @@
<template>
<view>
<button @click="onLogout()">退出登录</button>
</view>
</template>
<script>
export default {
data() {
return {
};
},
methods: {
onLogout(){
this.$store.commit('setToken', '');
this.$Router.replaceAll({
name: 'Auth'
})
}
}
}
</script>
<style lang="scss">
</style>