Skip to content

Commit 388cd76

Browse files
committed
Merge remote-tracking branch 'github-pro/main' into feature/liujian-1.9
2 parents ba6342d + 3df303a commit 388cd76

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/packages/core/src/pages/Login.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

frontend/packages/core/src/pages/member/MemberList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)