This commit is contained in:
Chuck1sn
2025-05-26 11:45:23 +08:00
parent 2d35eb7155
commit cf8323ece2
2 changed files with 1 additions and 4 deletions

View File

@@ -61,15 +61,12 @@
</template>
<script setup lang="ts">
import useAlertStore from "@/composables/store/useAlertStore";
import type { UserUpsertSubmitModel } from "@/types/user";
import { initFlowbite } from "flowbite";
import { onMounted, ref, watch } from "vue";
import { z } from "zod";
import type { components } from "../api/types/schema";
const alertStore = useAlertStore();
const { user, onSubmit } = defineProps<{
user?: components["schemas"]["UserRolePermissionDto"];
closeModal: () => void;

View File

@@ -169,7 +169,7 @@ const router = useRouter();
const { total, users, fetchUsersWith } = useUserQuery();
const { deleteUser } = useUserDelete();
const userUpsert = useUserUpsert();
const { sortFields, sortBy, handleSort, getSortField } = useSort();
const { sortBy, handleSort, getSortField } = useSort();
const alertStore = useAlertStore();
onMounted(async () => {