mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
Merge branch 'feature/v1.2' into 'main'
fix: Modify publish and title & add debug See merge request apipark/APIPark!54
This commit is contained in:
@@ -219,12 +219,12 @@ export const PublishApprovalModalContent = forwardRef<PublishApprovalModalHandle
|
||||
/></Row>
|
||||
</>
|
||||
}
|
||||
<Form.Item
|
||||
{/* <Form.Item
|
||||
label={$t("备注")}
|
||||
name="remark"
|
||||
>
|
||||
<Input.TextArea className="w-INPUT_NORMAL" disabled={type !== 'add' && type !== 'publish'} placeholder={$t(PLACEHOLDER.input)} />
|
||||
</Form.Item>
|
||||
</Form.Item> */}
|
||||
{/*
|
||||
{type !== 'add' && type !== 'publish' && <Form.Item
|
||||
label={$t("审核意见"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/frontend/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>APIPark - 企业API数据开放平台</title>
|
||||
<title>APIPark</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
@@ -176,13 +176,17 @@ const RoleConfig = ()=>{
|
||||
},[permissionInfo, state.language])
|
||||
|
||||
useEffect(() => {
|
||||
getPermissionTemplate()
|
||||
form.setFieldsValue({name:'',permits:[]})
|
||||
if(roleId){
|
||||
getPermissionInfo()
|
||||
}
|
||||
}, []);
|
||||
|
||||
useEffect(()=>{
|
||||
getPermissionTemplate()
|
||||
|
||||
},[state.language])
|
||||
|
||||
const onFinish =async() => {
|
||||
const body = await form.validateFields()
|
||||
|
||||
|
||||
@@ -76,6 +76,7 @@ const getServiceList = ()=>{
|
||||
|
||||
|
||||
const getTeamsList = ()=>{
|
||||
console.log('GetTeamList', accessInit,getGlobalAccessData)
|
||||
if(!accessInit){
|
||||
getGlobalAccessData()?.then?.(()=>{getTeamsList()})
|
||||
return
|
||||
@@ -167,6 +168,7 @@ useEffect(() => {
|
||||
)
|
||||
getTeamsList()
|
||||
setAppName('')
|
||||
console.log()
|
||||
}, []);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user