Merge branch 'xie1108'

This commit is contained in:
@fawn-nine
2023-11-14 11:28:53 +08:00
3 changed files with 11 additions and 8 deletions

View File

@@ -123,7 +123,7 @@
import $http from '@/config/requestConfig.js';
// import appShare, { closeShare } from '@/uni_modules/zhouWei-APPshare/js_sdk/appShare';
import {
mapState
mapState,mapMutations
} from 'vuex';
export default {
data() {
@@ -161,6 +161,7 @@
},
//方法
methods: {
...mapMutations(['setUserInfo']),
// 获得操作系统
getOS(){
let oprateOs = ''
@@ -279,6 +280,7 @@
// 退出登录
signOut() {
this.signShow = false
this.setUserInfo({'token': null})
uni.reLaunch({
url: '../user/login'
});