This commit is contained in:
icssoa 2024-04-20 14:22:47 +08:00
parent 32359861b5
commit 6210f18a8b
2 changed files with 4 additions and 4 deletions

View File

@ -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}`);
});
// 合并本地数据

View File

@ -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");
}
}