lyp
This commit is contained in:
parent
252570a588
commit
afc607c455
@ -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();
|
||||
|
@ -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(() => {
|
||||
|
@ -282,7 +282,7 @@ export default function ProjEditStep3() {
|
||||
onClick={()=>{
|
||||
setIsEditModalOpen(true)
|
||||
}}>
|
||||
上传
|
||||
保存
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user