Commit 8ffec94c authored by lshan's avatar lshan

个人中心获取登陆账号

parent ef865f20
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<!-- 手机号码 --> <!-- 手机号码 -->
<div class="px-5 py-5 flex justify-between items-center border-b border-gray-200"> <div class="px-5 py-5 flex justify-between items-center border-b border-gray-200">
<span class=" text-sm font-semibold">手机号码</span> <span class=" text-sm font-semibold">手机号码</span>
<span class=" text-sm">130****5978</span> <span class=" text-sm">{{getPhone}}</span>
</div> </div>
<!-- 登陆密码 --> <!-- 登陆密码 -->
<div class="px-5 py-2 items-center border-b border-gray-200"> <div class="px-5 py-2 items-center border-b border-gray-200">
...@@ -49,6 +49,10 @@ export default defineComponent({ ...@@ -49,6 +49,10 @@ export default defineComponent({
computed: { computed: {
hasPassword(): eAccountType { hasPassword(): eAccountType {
return eAccountType.REG_PDSET return eAccountType.REG_PDSET
},
getPhone(){
const phone =getUserMsg()?.userInfo.phone
return phone
} }
}, },
setup() { setup() {
......
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