diff --git a/apps/web/src/oj/problem/components/EditorToolbar.vue b/apps/web/src/oj/problem/components/EditorToolbar.vue index 1616e3e..9d44567 100644 --- a/apps/web/src/oj/problem/components/EditorToolbar.vue +++ b/apps/web/src/oj/problem/components/EditorToolbar.vue @@ -206,13 +206,13 @@ const changeLanguage = (v: LANGUAGE) => { 运行例子 - +
- + { // 「交给 AI 点评」灰着的时候说一句为什么(设计稿 FlowResPass) @@ -22,7 +25,7 @@ const saved = computed(() => { diff --git a/apps/web/src/oj/problem/components/ProblemEditor.vue b/apps/web/src/oj/problem/components/ProblemEditor.vue index 29c2ea8..1616096 100644 --- a/apps/web/src/oj/problem/components/ProblemEditor.vue +++ b/apps/web/src/oj/problem/components/ProblemEditor.vue @@ -191,13 +191,12 @@ watch( ) // 流程图编辑器交给 store:结果页签(在左栏,不在编辑器底下)要拿当前画布比一比、 -// 把旧版本载回去。子组件 SubmitFlowchart 还是从 inject 拿 +// 把旧版本载回去;「交给 AI 点评」在手机上挂在屏幕底部那条,也从 store 拿 const flowchartStore = useFlowchartStore() watch(flowchartEditorRef, (editor) => flowchartStore.attachEditor(editor ?? null), { immediate: true, }) onBeforeUnmount(() => flowchartStore.attachEditor(null)) -provide("flowchartEditorRef", flowchartEditorRef)