fix popup red

This commit is contained in:
Chuck1sn
2025-05-26 11:35:46 +08:00
parent 0b8624a098
commit 2d35eb7155
2 changed files with 5 additions and 8 deletions

View File

@@ -42,7 +42,6 @@
</template>
<script setup lang="ts">
import useAlertStore from "@/composables/store/useAlertStore";
import type { PermissionUpsertModel } from "@/types/permission";
import { ref, watch } from "vue";
import { z } from "zod";
@@ -55,8 +54,6 @@ const { permission, onSubmit, closeModal } = defineProps<{
onSubmit: (data: PermissionUpsertModel) => Promise<void>;
}>();
const alertStore = useAlertStore();
const formData = ref();
const updateFormData = (newPermission: typeof permission) => {