From 6210f18a8b0fdf33440208781a00d9f035392460 Mon Sep 17 00:00:00 2001 From: icssoa <615206459@qq.com> Date: Sat, 20 Apr 2024 14:22:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/cool/eps/index.ts | 4 ++-- src/cool/bootstrap/eps.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/cool/eps/index.ts b/build/cool/eps/index.ts index 10cddaf..2736a08 100644 --- a/build/cool/eps/index.ts +++ b/build/cool/eps/index.ts @@ -34,7 +34,7 @@ async function getData(temps?: Eps.Entity[]) { try { list = JSON.parse(readFile(join(DistPath, "eps.json")) || "[]"); } catch (err: any) { - error(`[eps] ${join(DistPath, "eps.json")} 文件异常, ${err.message}`); + error(`[cool-eps] ${join(DistPath, "eps.json")} 文件异常, ${err.message}`); } // 远程地址 @@ -55,7 +55,7 @@ async function getData(temps?: Eps.Entity[]) { } }) .catch(() => { - error(`[eps] 后端未启动 ➜ ${url}`); + error(`[cool-eps] 后端未启动 ➜ ${url}`); }); // 合并本地数据 diff --git a/src/cool/bootstrap/eps.ts b/src/cool/bootstrap/eps.ts index b998687..d891a56 100644 --- a/src/cool/bootstrap/eps.ts +++ b/src/cool/bootstrap/eps.ts @@ -43,7 +43,7 @@ function onUpdate() { // 遍历每一个方法 set(eps.service); - // 合并[eps] + // 合并 eps merge(service, eps.service); // 合并[local] @@ -63,7 +63,7 @@ function onUpdate() { // 提示 if (isDev) { - console.log("[eps] update"); + console.log("[cool-eps] updated"); } }