diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 2147ce6..e3bbcbc 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -8,7 +8,7 @@ import { WindowSetPosition, WindowUnfullscreen } from '../wailsjs/runtime' -import {h, ref} from "vue"; +import {h, onMounted, ref} from "vue"; import { RouterLink } from 'vue-router' import {darkTheme, NGradientText, NIcon, NText,} from 'naive-ui' import { @@ -17,6 +17,8 @@ import { ExpandOutline, PowerOutline, LogoGithub, MoveOutline, WalletOutline, StarOutline, AlarmOutline, SparklesOutline, } from '@vicons/ionicons5' + +const contentStyle = ref("") const content = ref('数据来源于网络,仅供参考;投资有风险,入市需谨慎') const isFullscreen = ref(false) const activeKey = ref('stock') @@ -194,11 +196,16 @@ window.onerror = function (msg, source, lineno, colno, error) { }); return true; }; + +onMounted(()=>{ + contentStyle.value="max-height: calc(90vh);overflow: hidden" +}) +