mirror of
https://github.com/ccmjga/zhilu-admin
synced 2026-04-05 11:47:32 +00:00
fix
This commit is contained in:
@@ -61,15 +61,12 @@
|
|||||||
|
|
||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import useAlertStore from "@/composables/store/useAlertStore";
|
|
||||||
import type { UserUpsertSubmitModel } from "@/types/user";
|
import type { UserUpsertSubmitModel } from "@/types/user";
|
||||||
import { initFlowbite } from "flowbite";
|
import { initFlowbite } from "flowbite";
|
||||||
import { onMounted, ref, watch } from "vue";
|
import { onMounted, ref, watch } from "vue";
|
||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
import type { components } from "../api/types/schema";
|
import type { components } from "../api/types/schema";
|
||||||
|
|
||||||
const alertStore = useAlertStore();
|
|
||||||
|
|
||||||
const { user, onSubmit } = defineProps<{
|
const { user, onSubmit } = defineProps<{
|
||||||
user?: components["schemas"]["UserRolePermissionDto"];
|
user?: components["schemas"]["UserRolePermissionDto"];
|
||||||
closeModal: () => void;
|
closeModal: () => void;
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ const router = useRouter();
|
|||||||
const { total, users, fetchUsersWith } = useUserQuery();
|
const { total, users, fetchUsersWith } = useUserQuery();
|
||||||
const { deleteUser } = useUserDelete();
|
const { deleteUser } = useUserDelete();
|
||||||
const userUpsert = useUserUpsert();
|
const userUpsert = useUserUpsert();
|
||||||
const { sortFields, sortBy, handleSort, getSortField } = useSort();
|
const { sortBy, handleSort, getSortField } = useSort();
|
||||||
const alertStore = useAlertStore();
|
const alertStore = useAlertStore();
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user