From 1925ffda31c462a53179bc21f385f1cb283ad8f9 Mon Sep 17 00:00:00 2001 From: ArvinLovegood Date: Tue, 11 Mar 2025 08:52:15 +0800 Subject: [PATCH] =?UTF-8?q?featend(front):=E6=B7=BB=E5=8A=A0=E4=BA=8C?= =?UTF-8?q?=E7=BB=B4=E7=A0=81=E5=9B=BE=E7=89=87=E5=B9=B6=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E5=9F=BA=E9=87=91=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 about.vue 组件中添加了二维码图片- 在 models.ts 文件中更新了 FundModel 结构,添加 netEstimatedRate 字段 --- frontend/src/components/about.vue | 2 ++ frontend/wailsjs/go/models.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/frontend/src/components/about.vue b/frontend/src/components/about.vue index efff180..692f93a 100644 --- a/frontend/src/components/about.vue +++ b/frontend/src/components/about.vue @@ -117,6 +117,8 @@ EventsOn("updateVersion",async (msg) => {

@ArvinLovegood

一个热爱编程的小白,欢迎关注我的Github

+ +

开源不易,如果觉得好用,可以请作者喝杯咖啡。

diff --git a/frontend/wailsjs/go/models.ts b/frontend/wailsjs/go/models.ts index 0d1d09d..0c25fec 100644 --- a/frontend/wailsjs/go/models.ts +++ b/frontend/wailsjs/go/models.ts @@ -100,6 +100,7 @@ export namespace data { netEstimatedUnit?: number; netEstimatedUnitTime: string; netAccumulated?: number; + netEstimatedRate?: number; fundBasic: FundBasic; static createFrom(source: any = {}) { @@ -119,6 +120,7 @@ export namespace data { this.netEstimatedUnit = source["netEstimatedUnit"]; this.netEstimatedUnitTime = source["netEstimatedUnitTime"]; this.netAccumulated = source["netAccumulated"]; + this.netEstimatedRate = source["netEstimatedRate"]; this.fundBasic = this.convertValues(source["fundBasic"], FundBasic); }