This commit is contained in:
xixi 2024-05-22 09:04:00 +08:00
parent 252570a588
commit afc607c455
3 changed files with 7 additions and 4 deletions

View File

@ -335,9 +335,9 @@ export default function ProjEdit() {
canBtnClick={canGenerate}
handleEdit={() => {
setIsGenerateModalOpen(true);
setTimeout(() => {
window.location.reload();
}, 1000)
// setTimeout(() => {
// window.location.reload();
// }, 1000)
}}
// background = {status == EditStepEnum.EDITED?'#F5FAFE':'#f3f3f3'}
// shadow = {status == EditStepEnum.EDITED?'0px 3px 0px 0px rgba(55,144,215,0.18)':''}
@ -455,11 +455,13 @@ export default function ProjEdit() {
cancelText="取消"
open={isGenerateModalOpen}
onOk={() => {
post({
messageApi,
url: `/api/proj/generate/proj-id/${pathParams.projId}`,
body: {},
onSuccess() {
window.location.reload();
messageApi.success('提交成功');
setIsGenerateModalOpen(false);
renderData();

View File

@ -898,6 +898,7 @@ export default function ProjEditStep2() {
<Button type="primary"
htmlType="submit"
// style={{ height: '49px', width: '104px', color: '#FDFDF2', background: '#1564ED', fontSize: '16px' }}
style={{ marginLeft:"-10px" }}
size='large'
onClick={() => {
formInfo.validateFields().then(() => {

View File

@ -282,7 +282,7 @@ export default function ProjEditStep3() {
onClick={()=>{
setIsEditModalOpen(true)
}}>
</Button>
</div>