feat: 更新依赖版本,添加 cnb-board 环境检查功能

This commit is contained in:
2026-02-24 01:23:52 +08:00
parent 58a0e9e61f
commit bda7fc3b92
10 changed files with 57 additions and 23 deletions

View File

@@ -0,0 +1 @@
export * from './is-cnb.ts';

View File

@@ -0,0 +1,6 @@
import { useKey } from "@kevisual/context";
export const isCnb = () => {
const CNB = useKey('CNB');
return !!CNB;
}