1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

Починка сборки

This commit is contained in:
MoonTestUse1
2024-12-31 02:41:55 +06:00
parent d5780b2eab
commit 4e12b51acb

View File

@@ -1,4 +1,4 @@
template> <template>
<div class="max-w-2xl mx-auto bg-white p-6 rounded-lg shadow-md"> <div class="max-w-2xl mx-auto bg-white p-6 rounded-lg shadow-md">
<h1 class="text-2xl font-bold mb-6">Добавить работника</h1> <h1 class="text-2xl font-bold mb-6">Добавить работника</h1>
@@ -80,7 +80,6 @@ template>
import { ref } from 'vue'; import { ref } from 'vue';
import { useRouter } from 'vue-router'; import { useRouter } from 'vue-router';
import { departments } from '@/utils/constants'; import { departments } from '@/utils/constants';
type Department = typeof departments[number];
const router = useRouter(); const router = useRouter();
const isSubmitting = ref(false); const isSubmitting = ref(false);
@@ -93,7 +92,6 @@ const form = ref({
password: '' password: ''
}); });
// @vue-ignore
const handleSubmit = async () => { const handleSubmit = async () => {
try { try {
isSubmitting.value = true; isSubmitting.value = true;