From b2ce1fe392b66ab64676ca22b31a974a508d079c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BD=A6=E5=8E=98=E5=AD=90?= Date: Thu, 17 Nov 2022 17:35:10 +0800 Subject: [PATCH] =?UTF-8?q?to=F0=9F=9B=A0=EF=B8=8F:=20new=20api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/index.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/store/index.ts b/src/store/index.ts index 2d0c7cc..423c40b 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -135,9 +135,7 @@ export class Bill { async fetchLabels() { const cls2label = await getLabels() runInAction(() => { - if (cls2label.length > 0) { - this._cls2label == cls2label - } + this._cls2label == cls2label }) } }