feat: Optimize dialog
- Change the method of open dialog - Fix the problem of open dialog disappearing due to virtual scrolling - Float the active dialog to the top
This commit is contained in:
@@ -43,3 +43,7 @@ export const resolveModelType = (type: string) => {
|
||||
loader: loader[type],
|
||||
}
|
||||
}
|
||||
|
||||
export const genModelKey = (model: BaseModel) => {
|
||||
return `${model.type}:${model.pathIndex}:${model.fullname}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user