fix:router issue
This commit is contained in:
parent
f4b7767476
commit
1017ef74c0
3 changed files with 13 additions and 11 deletions
|
|
@ -129,7 +129,7 @@ async function getDataNotification(index: number, type: string) {
|
|||
: e.createdFullName[0],
|
||||
body: e.body ?? "",
|
||||
timereceive: `${date2Thai(e.receiveDate)} ${new Date(
|
||||
e.receiveDate
|
||||
e.receiveDate,
|
||||
).toLocaleTimeString("th-TH", thaiOptions)} น.`,
|
||||
isOpen: e.isOpen,
|
||||
});
|
||||
|
|
@ -255,7 +255,7 @@ function doLogout() {
|
|||
await logoutSSO();
|
||||
},
|
||||
"ยืนยันการออกจากระบบ",
|
||||
"ต้องการออกจากระบบใช่หรือไม่?"
|
||||
"ต้องการออกจากระบบใช่หรือไม่?",
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -379,7 +379,7 @@ watch(
|
|||
notiList.value = updatedNotifications;
|
||||
fetchmsgNoread();
|
||||
}
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
const isSsoToken = ref<boolean>(false);
|
||||
|
|
@ -730,7 +730,6 @@ onUnmounted(() => {
|
|||
v-if="
|
||||
menuItem.key == 2 ||
|
||||
menuItem.key == 0 ||
|
||||
menuItem.key == 7 ||
|
||||
menuItem.key == 8 ||
|
||||
menuItem.key == 9 ||
|
||||
menuItem.key == 10 ||
|
||||
|
|
@ -773,7 +772,6 @@ onUnmounted(() => {
|
|||
<div
|
||||
v-if="
|
||||
menuItem.key == 2 ||
|
||||
menuItem.key == 7 ||
|
||||
menuItem.key == 12 ||
|
||||
menuItem.key == 13
|
||||
"
|
||||
|
|
@ -915,7 +913,6 @@ onUnmounted(() => {
|
|||
v-if="
|
||||
menuItem.key == 2 ||
|
||||
menuItem.key == 0 ||
|
||||
menuItem.key == 7 ||
|
||||
menuItem.key == 8 ||
|
||||
menuItem.key == 9 ||
|
||||
menuItem.key == 10 ||
|
||||
|
|
@ -942,7 +939,6 @@ onUnmounted(() => {
|
|||
<div
|
||||
v-if="
|
||||
menuItem.key == 2 ||
|
||||
menuItem.key == 7 ||
|
||||
menuItem.key == 12 ||
|
||||
menuItem.key == 13
|
||||
"
|
||||
|
|
@ -954,7 +950,6 @@ onUnmounted(() => {
|
|||
:label="subMenu.label"
|
||||
v-if="
|
||||
subMenu.key !== 2.0 &&
|
||||
subMenu.key !== 7.1 &&
|
||||
subMenu.key !== 12.0 &&
|
||||
subMenu.key !== 13.0
|
||||
"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue