From e8d6f8851efd7076946486864936f1797280d3ba Mon Sep 17 00:00:00 2001
From: vben <anncwb@126.com>
Date: 星期六, 19 六月 2021 23:17:44 +0800
Subject: [PATCH] fix(store): fix type error after pinia version upgrade

---
 src/store/modules/errorLog.ts |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/store/modules/errorLog.ts b/src/store/modules/errorLog.ts
index 6adde78..a4b0b8c 100644
--- a/src/store/modules/errorLog.ts
+++ b/src/store/modules/errorLog.ts
@@ -20,10 +20,10 @@
     errorLogListCount: 0,
   }),
   getters: {
-    getErrorLogInfoList() {
+    getErrorLogInfoList(): ErrorLogInfo[] {
       return this.errorLogInfoList || [];
     },
-    getErrorLogListCount() {
+    getErrorLogListCount(): number {
       return this.errorLogListCount;
     },
   },

--
Gitblit v1.8.0