From 5354ec983c167fb8acd43263609c9830cb509555 Mon Sep 17 00:00:00 2001 From: wangzhongjie Date: Thu, 3 Apr 2025 15:32:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=20warnFlagTip=20?= =?UTF-8?q?=E7=9A=84=E8=AE=BF=E9=97=AE=E6=96=B9=E5=BC=8F=EF=BC=8C=E6=8F=90?= =?UTF-8?q?=E5=8D=87=E4=BB=A3=E7=A0=81=E4=B8=80=E8=87=B4=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/utils/table/Operation.ets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entry/src/main/ets/utils/table/Operation.ets b/entry/src/main/ets/utils/table/Operation.ets index 352d89e4..50bfaa72 100644 --- a/entry/src/main/ets/utils/table/Operation.ets +++ b/entry/src/main/ets/utils/table/Operation.ets @@ -134,9 +134,9 @@ export async function InitializeTheCentralTable(params: InitializeTheCentralTabl arrList.push(res.initializationRsp.body[key]) } const folderPath = await fileUtil.initFolder(`/config/tableList`); - fileUtil.addFile(`${folderPath}/${RemappingTableName[key]}.txt`, JSON.stringify(arrList)) + fileUtil.addFile(`${folderPath}/${RemappingTableName.get(key)}.txt`, JSON.stringify(arrList)) try { - const result = await SqlInsertTable(RemappingTableName[key], arrList) + const result = await SqlInsertTable(RemappingTableName.get(key), arrList) if (!result) { Prompt.showToast({ message: '初始化数据库失败'