mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-26 06:40:17 +08:00
fix(types): 修复naive组件回调函数参数类型错误
This commit is contained in:
@@ -36,7 +36,8 @@ const options = [
|
||||
}
|
||||
];
|
||||
|
||||
function handleDropdown(key: DropdownKey) {
|
||||
function handleDropdown(optionKey: string) {
|
||||
const key = optionKey as DropdownKey;
|
||||
if (key === 'logout') {
|
||||
resetAuthState();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user