ボタン配置改修
This commit is contained in:
@@ -113,19 +113,19 @@ export const useFlowEditorStore = defineStore('flowEditor', {
|
||||
},
|
||||
|
||||
|
||||
deleteEvent(event: IKintoneEvent) {
|
||||
async deleteEvent(event: IKintoneEvent) {
|
||||
const store = useFlowEditorStore();
|
||||
if (event.flowData) {
|
||||
const flow = event.flowData;
|
||||
if (flow.id === '') {
|
||||
return;
|
||||
if (flow.id !== '') {
|
||||
await flowCtrl.DeleteFlow(flow.id)
|
||||
if (this.flows) {
|
||||
this.flows = this.flows.filter((f) => f.id !== flow.id);
|
||||
}
|
||||
}
|
||||
flowCtrl.DeleteFlow(flow.id)
|
||||
eventTree.deleteEvent(event, store);
|
||||
if(this.flows){
|
||||
this.flows = this.flows.filter((f) => f.id !== flow.id);
|
||||
}
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
eventTree.deleteEvent(event, store);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user