style: Oxc 代码格式调整

This commit is contained in:
2026-05-27 14:22:21 +08:00
parent 0796250df8
commit 58012e43db
6 changed files with 71 additions and 64 deletions
+9 -9
View File
@@ -1,15 +1,15 @@
<script setup lang="ts">
import ChatroomCard from '@/components/chatroom/ChatroomCard.vue'
import {ref, watch} from 'vue'
import {api} from '@/tools/web.ts'
import type {ChatroomPublic} from '@/types/chatroom.ts'
import type {ReturnDto} from '@/types/response.ts'
import { ref, watch } from 'vue'
import { api } from '@/tools/web.ts'
import type { ChatroomPublic } from '@/types/chatroom.ts'
import type { ReturnDto } from '@/types/response.ts'
import ChatroomCreatorModal from '@/components/chatroom/ChatroomCreatorModal.vue'
import {useNowUser} from '@/stores/now-user.ts'
import {useHead} from "@unhead/vue";
import { useNowUser } from '@/stores/now-user.ts'
import { useHead } from '@unhead/vue'
useHead({
title: "聊天室列表",
title: '聊天室列表',
})
const NOWUSER = useNowUser()
@@ -33,7 +33,7 @@ watch(
() => {
load()
},
{immediate: true},
{ immediate: true },
)
</script>
@@ -60,7 +60,7 @@ watch(
/>
</div>
<chatroom-creator-modal v-model:show-modal="showModal"/>
<chatroom-creator-modal v-model:show-modal="showModal" />
</template>
<style scoped>