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