code lint
This commit is contained in:
1 parent
6d6c69cf37
commit
b1593b1c8e
11 files changed
+104
-80
No files matched your search
@@ -32,13 +32,9 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
const code = defineModel<string>("value")
|
||||
|
||||
const lang = computed(() => {
|
||||
if (props.language === "html") {
|
||||
return html()
|
||||
} else if (props.language === "css") {
|
||||
return css()
|
||||
} else {
|
||||
return javascript()
|
||||
}
|
||||
if (props.language === "html") return html()
|
||||
if (props.language === "css") return css()
|
||||
return javascript()
|
||||
})
|
||||
</script>
|
||||
<template>
|
||||
|
||||
Reference in new issue
Block a user