Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
🐛 Fix compilation error caused by compiler-sfc bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mnixry committed Dec 30, 2022
1 parent f97ca7b commit d3947e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/ConfigFileEditor.vue
Expand Up @@ -12,13 +12,13 @@
import { onMounted, ref, watch } from 'vue';
import { editor } from 'monaco-editor/esm/vs/editor/editor.api.js';
const props = defineProps<{
const dom = ref<HTMLElement>(),
props = defineProps<{
modelValue: string;
language: string;
theme?: string;
}>(),
emit = defineEmits(['update:modelValue']),
dom = ref<HTMLElement>();
emit = defineEmits(['update:modelValue']);
let instance: editor.IStandaloneCodeEditor;
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/components/LogsConsole.vue
Expand Up @@ -71,12 +71,13 @@ const START_LINE_MARK = '当前版本:',
const converter = new AnsiUp();
converter.use_classes = true;
const reconnect = defineEmits(['reconnect']);
const props = defineProps<{
logs: ProcessLog[] | string[];
connected?: boolean;
height?: string;
}>(),
reconnect = defineEmits(['reconnect']),
root = ref<HTMLElement>(),
scroll = ref<QScrollArea>();
Expand Down

0 comments on commit d3947e7

Please sign in to comment.