|
|
@ -1,5 +1,5 @@ |
|
|
<template> |
|
|
<template> |
|
|
<LoginPrompt ref="loginPrompt"></LoginPrompt> |
|
|
|
|
|
|
|
|
<LoginPrompt ref="loginwPrompt"></LoginPrompt> |
|
|
<view class="main"> |
|
|
<view class="main"> |
|
|
<view class="top"> |
|
|
<view class="top"> |
|
|
<view class="bell"> |
|
|
<view class="bell"> |
|
|
@ -129,6 +129,14 @@ const goToAbout = () => { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const goToShare = () => { |
|
|
const goToShare = () => { |
|
|
|
|
|
console.log('用户信息==========',userInfoRes.value.data) |
|
|
|
|
|
if (!userInfoRes.value.data) { |
|
|
|
|
|
uni.showToast({ |
|
|
|
|
|
title: '请先登录', |
|
|
|
|
|
icon: 'none' |
|
|
|
|
|
}) |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '../setting/share' |
|
|
url: '../setting/share' |
|
|
}) |
|
|
}) |
|
|
|