to🛠️: new api

This commit is contained in:
车厘子 2022-11-17 17:35:10 +08:00
parent 909adfead4
commit b2ce1fe392

View File

@ -135,9 +135,7 @@ export class Bill {
async fetchLabels() { async fetchLabels() {
const cls2label = await getLabels() const cls2label = await getLabels()
runInAction(() => { runInAction(() => {
if (cls2label.length > 0) { this._cls2label == cls2label
this._cls2label == cls2label
}
}) })
} }
} }