Merge branch 'xie1108'
This commit is contained in:
@@ -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'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user