style: 调整代码格式

- 根据ESLint文件规范格式化app文件夹中的代码
This commit is contained in:
2025-09-15 17:02:04 +08:00
parent 67794e9523
commit 92c5a3baab
31 changed files with 1542 additions and 1321 deletions

View File

@ -6,19 +6,18 @@
<script setup lang="ts">
interface Props {
content: string
content: string;
}
const props = defineProps<Props>()
const props = defineProps<Props>();
const contentWithAbsoluteUrls = convertMedia(props.content)
const contentWithAbsoluteUrls = convertMedia(props.content);
// 将 Markdown 转换成 HTML
const safeHtml = computed(() => renderMarkdown(contentWithAbsoluteUrls))
const safeHtml = computed(() => renderMarkdown(contentWithAbsoluteUrls));
// const safeHtml = computed(() => renderMarkdown(props.content))
console.log('Rendered HTML:', safeHtml.value)
console.log("Rendered HTML:", safeHtml.value);
</script>
<style>
@ -70,4 +69,4 @@ console.log('Rendered HTML:', safeHtml.value)
border-top: 1px solid var(--el-border-color);
margin: 20px 0;
}
</style>
</style>