dev_forum
杨树林 5 years ago
parent 23fea61cc0
commit c1646797bd

@ -447,8 +447,8 @@ class Trainingjobsetting extends Component {
} else {
let rulesdata=this.state.rulesdata;
// console.log("pustdate123131312321321321");
// console.log(rulesdata);
console.log("pustdate123131312321321321");
console.log(rulesdata);
if(
rulesdata.length === 0){
this.props.showNotification(`分班发布设置不能为空`);
@ -614,6 +614,7 @@ class Trainingjobsetting extends Component {
// })
//
let {rules}=this.state;
var mydatas=[];
data = {
unified_setting: this.state.unifiedsetting, //非统一配置
group_settings: rules,
@ -1728,8 +1729,8 @@ class Trainingjobsetting extends Component {
}
}
console.log(rules)
console.log(datas)
console.log(rules);
console.log(datas);
this.setState({
rules,
rulesdata:datas,

Loading…
Cancel
Save