更改系统模板保存
This commit is contained in:
parent
b112273db1
commit
744a092ca2
|
@ -188,6 +188,7 @@ getLandingdata(val){
|
||||||
this.canvasImg.style.display='block';
|
this.canvasImg.style.display='block';
|
||||||
thumbresult =await this.canvasImgFn();
|
thumbresult =await this.canvasImgFn();
|
||||||
}else{
|
}else{
|
||||||
|
this.setState({activeNavStatus:1});
|
||||||
this.canvasImg.style.display='block';
|
this.canvasImg.style.display='block';
|
||||||
thumbresult =await this.canvasImgFn();
|
thumbresult =await this.canvasImgFn();
|
||||||
}
|
}
|
||||||
|
|
|
@ -266,8 +266,6 @@ export default class mytemplate extends React.Component{
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if(this.state.sourceIndex == 0)
|
if(this.state.sourceIndex == 0)
|
||||||
{
|
{
|
||||||
copyThemecustom(row.id).then(res=>{
|
copyThemecustom(row.id).then(res=>{
|
||||||
|
|
|
@ -24,10 +24,10 @@ export default class acclist extends React.Component{
|
||||||
let img = document.getElementById("preview-center-img")
|
let img = document.getElementById("preview-center-img")
|
||||||
// center.style.height = img.scrollHeight + "px";
|
// center.style.height = img.scrollHeight + "px";
|
||||||
let imgHeight=this.refs;
|
let imgHeight=this.refs;
|
||||||
// img.onload = function (e) {
|
img.onload = function (e) {
|
||||||
// center.style.height = img.clientHeight + "px";
|
center.style.height = imgHeight.middleCenter.clientHeight + "px";
|
||||||
// }offsetHeight
|
}
|
||||||
console.log(29,imgHeight);
|
|
||||||
}
|
}
|
||||||
exchangeBtn(){
|
exchangeBtn(){
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ export default class acclist extends React.Component{
|
||||||
{
|
{
|
||||||
propsData.model.middle_image?<img id="preview-center-img" src={propsData.model.middle_image} />:<img id="preview-center-img" src={this.state.middle_image}/>
|
propsData.model.middle_image?<img id="preview-center-img" src={propsData.model.middle_image} />:<img id="preview-center-img" src={this.state.middle_image}/>
|
||||||
}
|
}
|
||||||
<img src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/verify.png" className="verifycode"/>
|
{/* <img src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/verify.png" className="verifycode"/> */}
|
||||||
<div className="submit"></div>
|
<div className="submit"></div>
|
||||||
</div>
|
</div>
|
||||||
<div className="bottom">
|
<div className="bottom">
|
||||||
|
|
Loading…
Reference in New Issue