アクションをイベントに適用設定の不具合修正

This commit is contained in:
xiaozhe.ma
2024-09-24 01:26:19 +09:00
parent 662af6a226
commit 30f44ca923

View File

@@ -82,7 +82,7 @@ export default {
if(store.selectedEvent ){
eventId=store.selectedEvent.header!=='DELETABLE'? store.selectedEvent.eventId : store.selectedEvent.parentId;
}
const res =await api.get(`api/eventactions/${store.selectedEvent.eventId}`);
const res =await api.get(`api/eventactions/${eventId}`);
actionData= res.data;
const categoryNames = Array.from(new Set(actionData.map(x=>x.categoryname)));
categorys.value=categoryNames;