选择页面添加请求
This commit is contained in:
parent
d0631f2d20
commit
ce507ed2b7
@ -248,6 +248,7 @@ export default function ProjEditStep1(props: any) {
|
||||
// console.log(codeTypePageId);
|
||||
|
||||
setIsEditModalOpen(false);
|
||||
|
||||
put({
|
||||
messageApi,
|
||||
url: `/api/proj/update/edit-step1/${pathParams.projId}`,
|
||||
@ -267,8 +268,20 @@ export default function ProjEditStep1(props: any) {
|
||||
type: 'success',
|
||||
content: '编辑成功'
|
||||
})
|
||||
put({
|
||||
messageApi,
|
||||
// url: `/api/proj/update/edit-step1/${props.projId}`,
|
||||
url: `/api/proj/update-code-type-page-id/proj-id/${pathParams.projId}/code-page-type-id/${codeTypePageId}`,
|
||||
|
||||
|
||||
onSuccess() {
|
||||
|
||||
},
|
||||
|
||||
})
|
||||
setTimeout(() => {
|
||||
props.closeModal()
|
||||
|
||||
// window.location.reload(); // 刷新页面
|
||||
}, 500);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user