perf: Team org ui (#3499)

* perf: org ui

* perf: org ui
This commit is contained in:
Archer
2024-12-30 20:49:11 +08:00
committed by archer
parent 1fc77a126a
commit efecfd44c3
21 changed files with 505 additions and 563 deletions

View File

@@ -53,15 +53,10 @@ OrgSchema.virtual('permission', {
});
try {
OrgSchema.index(
{
teamId: 1,
path: 1
},
{
unique: true
}
);
OrgSchema.index({
teamId: 1,
path: 1
});
} catch (error) {
console.log(error);
}