Initial commit: GamePortrait 竖屏版 - 深色豪华主题

This commit is contained in:
li
2026-01-16 17:47:53 +08:00
commit 40976e4b45
26611 changed files with 2843638 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import { getCurrentInstance } from "vue";
let current = 0;
function useId() {
const vm = getCurrentInstance();
const { name = "unknown" } = (vm == null ? void 0 : vm.type) || {};
if (process.env.NODE_ENV === "test") {
return name;
}
return `${name}-${++current}`;
}
export {
useId
};