filter ออกคำสั่ง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-09-26 09:25:43 +07:00
parent 86d81c7066
commit 77a930ed78
5 changed files with 24 additions and 546 deletions

View file

@ -37,6 +37,7 @@ const getData = async () => {
.get(config.API.msgInbox)
.then((res: any) => {
const data = res.data.result;
let list: DataInbox[] = [];
data.map((e: ResponseInbox) => {
list.push({
@ -53,7 +54,8 @@ const getData = async () => {
});
});
inboxList.value = list;
if (inboxList.value) {
if (inboxList.value.length > 0) {
selectInbox(inboxList.value[0].no);
}
})