style(webui): Oxc format 已有代码

This commit is contained in:
2026-05-24 16:50:44 +08:00
parent ab396b01f2
commit 3117af670b
31 changed files with 559 additions and 468 deletions
+13 -4
View File
@@ -5,7 +5,12 @@ 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 {useNowUser} from '@/stores/now-user.ts'
import {useHead} from "@unhead/vue";
useHead({
title: "聊天室列表",
})
const NOWUSER = useNowUser()
@@ -23,9 +28,13 @@ function load() {
})
}
watch(() => NOWUSER.isLogin, () => {
load()
}, {immediate: true})
watch(
() => NOWUSER.isLogin,
() => {
load()
},
{immediate: true},
)
</script>
<template>