Commit 1fe157a2 authored by zhangsan's avatar zhangsan

1

parent 9ef464e5
...@@ -59,7 +59,12 @@ const handleClick = (item) => { ...@@ -59,7 +59,12 @@ const handleClick = (item) => {
} }
} }
}; };
const signIn = () => {
if (!isEealNameAuthentication()) {
return
}
router.push('/user/signIn');
};
const gotx = (balance, type, title) => { const gotx = (balance, type, title) => {
if (balance && balance > 0) { if (balance && balance > 0) {
if (!isEealNameAuthentication()) { if (!isEealNameAuthentication()) {
...@@ -149,7 +154,7 @@ onMounted(fetchData); ...@@ -149,7 +154,7 @@ onMounted(fetchData);
<span class="copy" @click="handleCopy(sysUser?.yqm)">复制</span> <span class="copy" @click="handleCopy(sysUser?.yqm)">复制</span>
</div> </div>
</div> </div>
<div class="sign-in" @click="router.push('/user/signIn')"> <div class="sign-in" @click="signIn">
<img src="@/static/user/4.png" alt="sign" /> <img src="@/static/user/4.png" alt="sign" />
<span>每日签到</span> <span>每日签到</span>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment