code lint

This commit is contained in:
xuyue committed 2025-03-06 00:12:38 +08:00
1 parent 6d6c69cf37
commit b1593b1c8e
11 files changed
+104 -80

No files matched your search

+3 -7
View File
@@ -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>