songzhen 2 місяців тому
батько
коміт
513f838aee
1 змінених файлів з 4 додано та 1 видалено
  1. 4 1
      src/components/NavigationBar/LeftMenu.vue

+ 4 - 1
src/components/NavigationBar/LeftMenu.vue

@@ -56,7 +56,10 @@
           @click="isProfileMenuExpanded = !isProfileMenuExpanded"
         >
           <template #right>
-            <span class="iconfont icon-caret-down"></span>
+            <span
+              class="iconfont icon-caret-down"
+              :class="{ 'rotate-180': isProfileMenuExpanded }"
+            ></span>
           </template>
         </LeftMenuItem>
         <div v-show="isProfileMenuExpanded">