diff --git a/src/components/designer/Designer.vue b/src/components/designer/Designer.vue index cf9b29f6..46feaea4 100644 --- a/src/components/designer/Designer.vue +++ b/src/components/designer/Designer.vue @@ -56,6 +56,10 @@ const store = useDesignerStore() const { $t } = useFluent() const displayJob = inject(displayJobKey) as Ref const foldMultiFunctionArea = useMediaQuery('screen and (max-width: 480px)') +watch(foldMultiFunctionArea, (fold) => { + if (!fold && activeTab.value == 'action-panel') + activeTab.value = 'attributes-enhance'; +}) const actionQueueElem = ref() const { height: actionQueueHeight } = useElementSize(actionQueueElem) @@ -254,7 +258,7 @@ async function handleSolverResult(actions: Actions[], solverName: SequenceSource
- + @@ -264,8 +268,12 @@ async function handleSolverResult(actions: Actions[], solverName: SequenceSource :preview-solver="previewSolver" :err-list="activeRst?.errors" :loading-solver-result="isReadingSolverDisplay" clearable />
- + + +