瀏覽代碼

fix(authorization): fix onSelect

Lind 4 年之前
父節點
當前提交
1f62b513d8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/Authorization/index.tsx

+ 1 - 1
src/components/Authorization/index.tsx

@@ -296,7 +296,7 @@ const Authorization = observer((props: AuthorizationProps) => {
             <Row>
               <Col span={4}>
                 <Select
-                  onSelect={(type: string) =>
+                  onSelect={(type: any) =>
                     searchPermission(AuthorizationModel.filterParam.name, props.type || type)
                   }
                   style={{ width: '100%' }}