选择页面添加请求

This commit is contained in:
lyp 2024-12-26 13:06:17 +08:00
parent d0631f2d20
commit ce507ed2b7

View File

@ -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);