Ver Fonte

feat: 隐藏修改密码弹窗

zhouyuhao há 1 ano atrás
pai
commit
f7fdd34269

+ 1 - 1
src/views/Layout/src/components/Header/components/ChangePasswordDialog.vue

@@ -1,5 +1,5 @@
 <script setup lang="ts">
-const dialogVisible = ref(true)
+const dialogVisible = ref(false)
 
 const openDialog = () => {
   dialogVisible.value = true

+ 1 - 1
src/views/Login/src/components/ChangePasswordCard.vue

@@ -5,7 +5,7 @@ import { useUserStore } from '@/stores/modules/user'
 const router = useRouter()
 const loginForm = ref({
   username: 'ra.admin',
-  oldPassword: 'abc123456789',
+  oldPassword: '',
   newPassword: '',
   confirmPassword: ''
 })

+ 1 - 0
src/views/Tracking/src/components/TrackingDetail/src/components/RoutesView.vue

@@ -287,6 +287,7 @@ onBeforeUnmount(() => {
       font-size: 20px;
       transition: all 0.3s;
       transform: rotate(0deg);
+      cursor: pointer;
     }
 
     .collapse {