fixed faq bugs
This commit is contained in:
@@ -133,7 +133,7 @@
|
||||
<p
|
||||
class="text-[3.59vw] md:text-[1.055vw] font-[600] text-[#383E43]"
|
||||
>
|
||||
{{ tickets?.data.value.length }}
|
||||
{{ tickets?.data.value.result.length }}
|
||||
تیکت
|
||||
</p>
|
||||
<p
|
||||
@@ -361,8 +361,8 @@
|
||||
|
||||
<div class="flex justify-center items-center flex-col mt-[1.823vw]">
|
||||
<img
|
||||
v-if="profileImage"
|
||||
:src="profileImage"
|
||||
v-if="authUser.avatarMedia"
|
||||
:src="authUser.avatarMedia"
|
||||
class="h-[27.949vw] md:h-[7.24vw] w-[27.949vw] md:w-[7.24vw] rounded-full"
|
||||
alt=""
|
||||
/>
|
||||
@@ -518,10 +518,8 @@
|
||||
|
||||
|
||||
<script setup>
|
||||
const profileImage = useState('profileImage')
|
||||
const tickets = await useFetch("/api/ticket/getTickets");
|
||||
console.log('tick',tickets.data);
|
||||
const lastTickets = tickets?.data?.value.slice(-2);
|
||||
const lastTickets = tickets?.data?.value.result.slice(-2);
|
||||
const myCourses = await useFetch("/api/auth/me");
|
||||
const lastCourses = myCourses.data?.value.course.slice(-2);
|
||||
const balance = await useFetch("/api/user/balance");
|
||||
|
||||
Reference in New Issue
Block a user