fix: lint

This commit is contained in:
xingyu4j
2025-11-24 15:34:25 +08:00
parent c3a702efbf
commit f22b390380
42 changed files with 178 additions and 170 deletions

View File

@@ -123,7 +123,7 @@ getDetail();
<template>
<Page auto-content-height v-loading="loading">
<div class="bg-card flex h-[95%] flex-col rounded-md p-4">
<div class="flex h-[95%] flex-col rounded-md bg-card p-4">
<NSteps :current="currentStep" class="mb-8 rounded shadow-sm">
<NStep v-for="step in steps" :key="step.key" :title="step.title" />
</NSteps>

View File

@@ -48,7 +48,7 @@ const { status, data, send, close, open } = useWebSocket(server.value, {
const messageList = ref(
[] as { text: string; time: number; type?: string; userId?: string }[],
); // 消息列表
const messageReverseList = computed(() => [...messageList.value].reverse());
const messageReverseList = computed(() => [...messageList.value].toReversed());
watchEffect(() => {
if (!data.value) {
return;