Browse Source

个人中心

XiaXxxxxx 1 year ago
parent
commit
cad04d6ceb

+ 6 - 1
src/layouts/default/header/components/user-dropdown/PersonInfoModal.vue

@@ -253,8 +253,13 @@ export default defineComponent({
                 .list-item {
                     margin: 5px 0;
                     display: flex;
+                    .item-title{
+                        white-space: nowrap;
+                        overflow: hidden;
+                        text-overflow: ellipsis;
+                    }
                     .item-text{
-                        width: 70%;
+                        // width: 70%;
                         white-space: nowrap;
                         overflow: hidden;
                         text-overflow: ellipsis;

+ 3 - 3
src/layouts/default/header/components/user-dropdown/index.vue

@@ -17,7 +17,7 @@
       </Menu>
     </template> -->
 
-    <template #overlay>
+    <!-- <template #overlay>
       <Menu @click="handleMenuClick">
         <MenuItem key="personal" :text="t('layout.header.dropdownItemPersonal')" icon="ion:document-text-outline" />
         <MenuItem v-if="hasPermission('system:password:view')" key="changePassword"
@@ -28,7 +28,7 @@
           icon="ion:lock-closed-outline" />
         <MenuItem key="logout" :text="t('layout.header.dropdownItemLoginOut')" icon="ion:power-outline" />
       </Menu>
-    </template>
+    </template> -->
   </Dropdown>
   <LockAction @register="register" />
   <!-- <PersonalChild
@@ -126,7 +126,7 @@ export default defineComponent({
       //     handleLoginOut();
       //     break;
       //   case 'personal':
-      //     openPersonalFunc();
+      //     ifShowPersonInfo.value = true
       //     break;
       //   case 'lock':
       //     handleLock();