File tree Expand file tree Collapse file tree
frontend/packages/core/src/pages Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ const Login: FC = () => {
153153
154154 // 打开飞书授权页面
155155 const openFeishuLogin = ( ) => {
156- const href = location . href
156+ const href = window . location . origin + window . location . pathname
157157 const authUrl = `https://accounts.feishu.cn/open-apis/authen/v1/authorize?client_id=${ feishuAppId } &redirect_uri=${ href } `
158158 localStorage . setItem ( 'feishuCallbackUrl' , href )
159159 window . location . href = authUrl
Original file line number Diff line number Diff line change @@ -396,7 +396,7 @@ const MemberList = () => {
396396 width : 600 ,
397397 okText : $t ( '确认' ) ,
398398 okButtonProps : {
399- disabled : isActionAllowed ( type ) || entity ?. form !== 'self-build'
399+ disabled : isActionAllowed ( type ) || ( type === 'editMember' && entity ?. form !== 'self-build' )
400400 } ,
401401 cancelText : $t ( '取消' ) ,
402402 closable : true ,
You can’t perform that action at this time.
0 commit comments