判断 调整按钮样式

newyslclassrooms
杨树明 5 years ago
parent 60b3deb87f
commit 9698648547

@ -112,7 +112,7 @@ const NewOrEditTask = (props) => {
content: (<p>发布后即可应用到自己管理的课堂<br /> 是否确认发布?</p>),
onOk() {
changePublishLoadingStatus(true);
handlePublish(props, 'publish');
props.handlePublish(props, 'publish');
}
});
}

@ -267,6 +267,17 @@ export const validateOjForm = (props, type, cb) => {
}catch (e) {
}
try {
if( hasSuccess === false){
if(boolflad===true){
props.changePublishLoadingStatus(false);
}
}
}catch (e) {
}

Loading…
Cancel
Save