build: 清理未使用变量优化构建

This commit is contained in:
Cassianvale
2025-03-07 14:47:01 +08:00
parent 994737b6b4
commit 96791877f4
7 changed files with 3264 additions and 2662 deletions

View File

@@ -188,7 +188,7 @@
</template>
<script setup lang="ts">
import { ref, computed, onMounted, reactive } from 'vue';
import { ref, computed, onMounted } from 'vue';
import {
NButton,
NIcon,

View File

@@ -125,7 +125,7 @@
:columns="stockTableColumns"
:data="analyzedStocks"
:pagination="{ pageSize: 10 }"
:row-key="(row) => row.code"
:row-key="(row: StockInfo) => row.code"
:bordered="false"
:single-line="false"
striped
@@ -141,12 +141,11 @@
</template>
<script setup lang="ts">
import { ref, onMounted, onBeforeUnmount, h } from 'vue';
import { ref, onMounted, h } from 'vue';
import {
NLayout,
NLayoutContent,
NCard,
NPageHeader,
NIcon,
NGrid,
NGridItem,
@@ -165,7 +164,6 @@ import {
} from 'naive-ui';
import { useClipboard } from '@vueuse/core'
import {
BarChartOutline as BarChartIcon,
DocumentTextOutline as DocumentTextIcon,
DownloadOutline as DownloadIcon,
NotificationsOutline as NotificationsIcon