Files
2025-12-29 14:59:44 +08:00

10 lines
239 B
JavaScript

import { getCurrentInstance } from "vue";
const useScopeId = () => {
var _a;
const { scopeId } = ((_a = getCurrentInstance()) == null ? void 0 : _a.vnode) || {};
return scopeId ? { [scopeId]: "" } : null;
};
export {
useScopeId
};