style(webui): 在 Oxfmt 中配置导入排序功能,并对全 webui 目录进行格式化
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
<script setup lang="ts">
|
||||
import ChatroomCard from '@/components/chatroom/ChatroomCard.vue'
|
||||
import { useHead } from '@unhead/vue'
|
||||
import { ref, watch } from 'vue'
|
||||
|
||||
import ChatroomCard from '@/components/chatroom/ChatroomCard.vue'
|
||||
import ChatroomCreatorModal from '@/components/chatroom/ChatroomCreatorModal.vue'
|
||||
import { useNowUser } from '@/stores/now-user.ts'
|
||||
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'
|
||||
|
||||
useHead({
|
||||
title: '聊天室列表',
|
||||
@@ -29,7 +30,7 @@ function load() {
|
||||
}
|
||||
|
||||
watch(
|
||||
() => NOWUSER.isLogin,
|
||||
() => NOWUSER.is_login,
|
||||
() => {
|
||||
load()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user