首页更新

This commit is contained in:
2026-07-07 14:36:59 +08:00
parent 6a588015d0
commit 4679280e45
6 changed files with 426 additions and 208 deletions
+9 -1
View File
@@ -118,7 +118,13 @@ const toggleWorkflow = (id: string) => {
emit('workflow-select', newId);
};
const clearWorkflow = () => {
const resetAll = () => {
message.value = '';
selectedWorkflowId.value = null;
emit('workflow-select', null);
};
const clearWorkflow = () => {
selectedWorkflowId.value = null;
emit('workflow-select', null);
};
@@ -126,6 +132,8 @@ const clearWorkflow = () => {
onMounted(() => {
fetchWorkflows();
});
defineExpose({ resetAll, clearWorkflow, selectedWorkflowId });
</script>
<style scoped lang="scss">