首页更新
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user