This commit is contained in:
parent
a82df04fe6
commit
94151d634c
|
@ -35,8 +35,6 @@ export default class edittemplate extends React.Component{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
colorChange(e){
|
colorChange(e){
|
||||||
let model2 = this.state.model;
|
let model2 = this.state.model;
|
||||||
model2.bg_color = e;
|
model2.bg_color = e;
|
||||||
|
@ -58,7 +56,6 @@ export default class edittemplate extends React.Component{
|
||||||
center.style.height = (img.clientHeight -2) + "px";
|
center.style.height = (img.clientHeight -2) + "px";
|
||||||
}
|
}
|
||||||
},500)
|
},500)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -342,7 +342,7 @@ onEditRow(status,row){
|
||||||
|
|
||||||
componentWillMount(){
|
componentWillMount(){
|
||||||
this.setState({tableHeight:window.innerHeight-390});
|
this.setState({tableHeight:window.innerHeight-390});
|
||||||
if(sessionStorage.getItem("key_plan_status")==6)
|
if(sessionStorage.getItem("key_plan_status")==6 || sessionStorage.getItem("key_plan_status")== 0)
|
||||||
{
|
{
|
||||||
this.setState({disabled:true})
|
this.setState({disabled:true})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue