chore: 清理未使用变量

This commit is contained in:
Cassianvale
2025-03-11 13:09:51 +08:00
parent a4a93973d2
commit f86f004181
3 changed files with 2 additions and 12 deletions

View File

@@ -77,7 +77,7 @@
</template>
<script setup lang="ts">
import { ref, reactive, onMounted, h } from 'vue';
import { ref, reactive, onMounted } from 'vue';
import { useRouter } from 'vue-router';
import {
NCard,

View File

@@ -106,13 +106,6 @@ import {
import { updateMarketTimeInfo } from '@/utils';
import type { MarketTimeInfo, MarketStatus } from '@/types';
const props = defineProps({
isMobile: {
type: Boolean,
default: false
}
});
const marketInfo = ref<MarketTimeInfo>({
currentTime: '',
cnMarket: { isOpen: false, nextTime: '' },

View File

@@ -152,7 +152,7 @@
</template>
<script setup lang="ts">
import { ref, onMounted, h, computed, onBeforeUnmount } from 'vue';
import { ref, onMounted, computed, onBeforeUnmount } from 'vue';
import {
NLayout,
NLayoutContent,
@@ -166,7 +166,6 @@ import {
NButton,
NEmpty,
useMessage,
useNotification,
NSpace,
NText,
NDataTable,
@@ -177,7 +176,6 @@ import { useClipboard } from '@vueuse/core'
import {
DocumentTextOutline as DocumentTextIcon,
DownloadOutline as DownloadIcon,
NotificationsOutline as NotificationsIcon
} from '@vicons/ionicons5';
import MarketTimeDisplay from './MarketTimeDisplay.vue';
@@ -194,7 +192,6 @@ import { validateMultipleStockCodes, MarketType } from '@/utils/stockValidator';
// 使用Naive UI的组件API
const message = useMessage();
const notification = useNotification();
const { copy } = useClipboard();
// 从环境变量获取的默认配置