fix: lint
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user