use composables.

This commit is contained in:
xuyue committed 2023-01-13 23:20:36 +08:00
1 parent d45783334d
commit d3caa5438d
15 files changed
+2360 -72

No files matched your search

+2 -1
View File
@@ -3,7 +3,7 @@ import Md from "./step-1/index.md"
import Monaco from "../shared/monaco/index.vue"
const route = useRoute()
console.log(route.params.step)
// console.log(route.params.step)
const code = ref("")
@@ -19,6 +19,7 @@ function change(value: string) {
<Md />
{{ code }}
</el-col>
<!-- TODO: 这里有BUG -->
<el-col :span="8">
<Monaco :value="code" @change="change" />
</el-col>