Browse Source

Merge branch 'master' of https://git.cocorobo.cn/CocoRoboLabs/pbl_admin_table

SanHQin 3 tháng trước cách đây
mục cha
commit
68f849fc13
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      src/views/HomeView.vue

+ 5 - 1
src/views/HomeView.vue

@@ -17,7 +17,8 @@
             <div class="person">
               <div class="person_name">
                 <img
-                style="width: 40px;height: 40px;object-fit: cover;border-radius: 50%;" 
+                 @click="openData()"
+                style="width: 40px;height: 40px;object-fit: cover;border-radius: 50%; cursor: pointer;" 
                 :src="userinfo.headportrait ? userinfo.headportrait : require('../assets/img/toux.png')" alt="">
                 <div class="personInfo">
                   <div class="personInfoTit">
@@ -89,6 +90,9 @@ export default {
     ...mapActions({
       logout: 'user/logout'
     }),
+    openData(){
+        window.topU.U.MD.D.I.openApplication('my')
+    },
     // 打开平台应用工具
     AddAppJson(val){
       console.log('val',val);