Skip to content

Commit

Permalink
🍓fix:修改名称
Browse files Browse the repository at this point in the history
  • Loading branch information
durunsong committed Sep 26, 2024
1 parent 2d40f4e commit 6f4dc3a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/views/dashboard/index.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<template>
<component :is="isAdmin ? Admin : Editor" />
<component :is="isAdmin ? Admin : Editor"></component>
</template>

<script lang="ts" setup>
import { useUserStore } from "@/store/modules/user";
import Admin from "./components/Admin.vue";
import Editor from "./components/Editor.vue";
import Editor from "./components/User.vue";
const userStore = useUserStore();
const isAdmin = userStore.roles.includes("admin");
Expand Down
2 changes: 1 addition & 1 deletion src/views/login/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ const router = useRouter();
const store = userPomotionStore();
const form = reactive<LoginForm>({
userName: "admin123",
userName: "admin",
password: "123456",
confirmPassword: undefined,
});
Expand Down

0 comments on commit 6f4dc3a

Please sign in to comment.