diff --git a/app.go b/app.go index c16cfc4..5668a67 100644 --- a/app.go +++ b/app.go @@ -80,6 +80,7 @@ func (a *App) domReady(ctx context.Context) { }() go runtime.EventsEmit(a.ctx, "telegraph", refreshTelegraphList()) + go MonitorStockPrices(a) } func refreshTelegraphList() *[]string { diff --git a/frontend/package.json.md5 b/frontend/package.json.md5 index d2ab4a7..3e578c9 100644 --- a/frontend/package.json.md5 +++ b/frontend/package.json.md5 @@ -1 +1 @@ -00b8e620dca5bab58d37996f0f350d0a \ No newline at end of file +fab5f9aa38ff92389d6726864c83c7cd \ No newline at end of file diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 74cf760..4e4651b 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -18,7 +18,7 @@ import { RefreshOutline, PowerOutline, BarChartOutline, MoveOutline, WalletOutline, StarOutline, } from '@vicons/ionicons5' -const content = ref('数据来源于网络,仅供参考\n投资有风险,入市需谨慎') +const content = ref('数据来源于网络,仅供参考;投资有风险,入市需谨慎') const isFullscreen = ref(false) const activeKey = ref('stock') const containerRef= ref({}) @@ -152,19 +152,18 @@ EventsOn("telegraph",(data)=>{ :content="content" cross selectable - :font-size="18" - :line-height="18" + :font-size="16" + :line-height="16" + :width="500" :height="400" - :width="600" :x-offset="50" - :y-offset="50" + :y-offset="150" :rotate="-15" - style="height: 100%" > - + {{item}}