perf: 调整全部静态资源到static目录

This commit is contained in:
xiaojunnuo
2024-10-03 23:11:50 +08:00
parent a4e2cc54e6
commit a21889080d
58 changed files with 104 additions and 148 deletions
+7 -1
View File
@@ -1,5 +1,5 @@
import { logger } from "../utils/index.js";
import { setLogger, isPlus } from "@certd/plus-core";
import { setLogger, isPlus, isComm } from "@certd/plus-core";
setLogger(logger);
export * from "@certd/plus-core";
@@ -8,3 +8,9 @@ export function checkPlus() {
throw new Error("此为专业版功能,请升级到专业版");
}
}
export function checkComm() {
if (!isComm()) {
throw new Error("此为商业版功能,请升级到商业版");
}
}