แก้ map เเต่ id

This commit is contained in:
STW_TTTY\stwtt 2024-08-30 16:56:57 +07:00
parent beff4ce002
commit facf7f071b

View file

@ -807,7 +807,6 @@ function putData(id: string) {
* @param id personal id
*/
async function saveData(id: string) {
const data = putData(id);
dialogConfirm($q, async () => await DataSave(id));
}
@ -858,7 +857,7 @@ async function getAssign() {
chairman.value = data.chairman;
commander.value = data.commander;
knowledge.value = data.knowledges.map((id: any) => id.id);
knowledge.value = data.knowledges
knowledgeCount.value = data.knowledges.length;
other_desc.value = data.assign.other_desc;
other4_desc.value = data.assign.other4_desc;