fix: ts build error

This commit is contained in:
兰志宏
2025-03-11 17:42:54 +08:00
parent b157fbaab7
commit 399207c4ce
2 changed files with 5 additions and 5 deletions

View File

@@ -176,7 +176,7 @@ import {
DownloadOutline as DownloadIcon,
} from '@vicons/ionicons5';
import MarketTimeDisplay from './MarketTimeDisplay.vue';
// import MarketTimeDisplay from './MarketTimeDisplay.vue';
import ApiConfigPanel from './ApiConfigPanel.vue';
import StockSearch from './StockSearch.vue';
import StockCard from './StockCard.vue';
@@ -215,9 +215,9 @@ const apiConfig = ref<ApiConfig>({
});
// 移动端检测
const isMobile = computed(() => {
return window.innerWidth <= 768;
});
// const isMobile = computed(() => {
// return window.innerWidth <= 768;
// });
// 监听窗口大小变化
function handleResize() {

View File

@@ -43,7 +43,7 @@ export interface SearchResult {
symbol: string;
name: string;
market: string;
marketValue?: number;
market_value?: number;
}
export interface MarketStatus {