ปรับ ui Responensive

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-05-27 15:29:13 +07:00
parent 8d0ac4eb7c
commit 93bdc791dc
9 changed files with 266 additions and 80 deletions

View file

@ -6,6 +6,7 @@ import router from "@/router";
import http from "@/plugins/http";
import config from "@/app.config";
import { useCounterMixin } from "@/stores/mixin";
import keycloak from "@/plugins/keycloak";
import PopupReplyInbox from "@/components/PopupReplyInbox.vue";
import PopupDetailInbox from "@/components/PopupDetailInbox.vue";
@ -13,7 +14,7 @@ const $q = useQuasar();
const mixin = useCounterMixin();
const { showLoader, hideLoader, date2Thai, messageError } = mixin;
const fullname = ref<string>("ธัญลักษณ์");
const fullname = ref<string>("");
const inboxList = ref<any>([
// {
// no: 1,
@ -108,6 +109,9 @@ const items = ref<any>([
]);
onMounted(async () => {
await fetchlistInbox(1);
if (keycloak.tokenParsed != null) {
fullname.value = keycloak.tokenParsed.name;
}
});
const fetchlistInbox = async (index: number) => {
index === 1 && showLoader();