Commit 4f36af68 authored by Yuan Zhixiang's avatar Yuan Zhixiang
Browse files

代码框添加提示信息

parent 3287e452
......@@ -22,7 +22,7 @@ let custom_theme = EditorView.theme({
</script>
<template>
<Codemirror v-model="code_input" style="height: 100%;" :extensions="[cpp(), custom_theme]" />
<Codemirror v-model="code_input" placeholder="在此处输入你的代码" style="height: 100%;" :extensions="[cpp(), custom_theme]" />
</template>
<style scoped></style>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment