This commit is contained in:
HAM!DREZA
2024-06-02 14:34:03 +03:30
parent 69ad899b35
commit b6dcacce95
12 changed files with 221 additions and 117 deletions
+1 -3
View File
@@ -131,15 +131,13 @@ const { authUser } = useAuth();
const loading = ref(false)
const edit = async(formData) => {
console.log('form :',formData);
try {
loading.value = true;
await $fetch('/api/user/update', {
method: 'PUT',
body: formData
})
// toast.success("ویرایش اطلاعات شما باموفقیت انجام شد");
location.reload()
location.reload()
} catch (error) {
toast.error(error)
} finally {
-1
View File
@@ -406,7 +406,6 @@ const sendTicket = async () => {
load()
addTicketForm.value = false;
subject.value = null;
console.log('تیکت',data);
};