filter ออกคำสั่ง
This commit is contained in:
parent
86d81c7066
commit
77a930ed78
5 changed files with 24 additions and 546 deletions
|
|
@ -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);
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue