add eslint prettier unocss

This commit is contained in:
Rewrite0
2023-04-24 21:03:05 +08:00
parent a94cfc6d49
commit 9b1abfddfd
30 changed files with 3434 additions and 630 deletions

View File

@@ -1,20 +1,20 @@
<script setup lang="ts">
const props = defineProps<{
title: string,
results: object | null
defineProps<{
title: string;
results: object | null;
}>();
const dialogVisible = ref(false);
const handleClose = () => {
function handleClose() {
dialogVisible.value = false;
}
const open = () => {
function open() {
dialogVisible.value = true;
}
defineExpose({
open
})
open,
});
</script>
<template>
@@ -34,13 +34,13 @@ defineExpose({
</div>
</template>
<style lang='scss' scope>
.dia-log{
.results{
<style lang="scss" scope>
.dia-log {
.results {
padding: 1em;
line-height: 1.5;
color: #fff;
background: #333;
}
}
</style>
</style>