跳转提示
This commit is contained in:
parent
e3407b1046
commit
0c8e81f484
@ -181,7 +181,6 @@
|
|||||||
me.loginIn(res.data.token); //存储一个字符传值
|
me.loginIn(res.data.token); //存储一个字符传值
|
||||||
// 缓存用户的信息
|
// 缓存用户的信息
|
||||||
uni.setStorageSync('user_info',res.data);
|
uni.setStorageSync('user_info',res.data);
|
||||||
|
|
||||||
if (res.data.member.has_labels) {
|
if (res.data.member.has_labels) {
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index'
|
||||||
|
@ -256,6 +256,12 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
customers(){
|
customers(){
|
||||||
|
if(!this.$store.state.hasLogin){
|
||||||
|
this.$refs.uToast.show({
|
||||||
|
title: "请先登录",
|
||||||
|
type: 'warning'
|
||||||
|
})
|
||||||
|
}else{
|
||||||
function Friend(uuid, name, avatar,time = "", text = "",date = "") {
|
function Friend(uuid, name, avatar,time = "", text = "",date = "") {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
this.name = name;
|
this.name = name;
|
||||||
@ -282,6 +288,8 @@ export default {
|
|||||||
}).catch((err)=>{
|
}).catch((err)=>{
|
||||||
console.log(err)
|
console.log(err)
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
setSwiperList(list) {
|
setSwiperList(list) {
|
||||||
let img = [];
|
let img = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user