release: update 5.5.0

This commit is contained in:
xiaoxian521
2024-05-10 12:09:23 +08:00
parent 923fdd9ff1
commit 0d8f6b314b
59 changed files with 875 additions and 932 deletions

View File

@@ -0,0 +1,25 @@
const MAP = new Map();
export const useMultiFrame = () => {
function setMap(path, Comp) {
MAP.set(path, Comp);
}
function getMap(path?) {
if (path) {
return MAP.get(path);
}
return [...MAP.entries()];
}
function delMap(path) {
MAP.delete(path);
}
return {
setMap,
getMap,
delMap,
MAP
};
};