绑定落地页模板更新
This commit is contained in:
parent
ca14e06072
commit
458ac69a76
|
@ -127,7 +127,7 @@ export default class acclist extends React.Component{
|
|||
sessionStorage.setItem("white",1)
|
||||
}
|
||||
else{
|
||||
sessionStorage.setItem("white",0)
|
||||
sessionStorage.setItem("white",3)
|
||||
}
|
||||
|
||||
return data;
|
||||
|
@ -156,7 +156,7 @@ export default class acclist extends React.Component{
|
|||
this.setState({white_visible:true})
|
||||
}
|
||||
else{
|
||||
sessionStorage.setItem("white",0)
|
||||
sessionStorage.setItem("white",3)
|
||||
this.setState({white_visible:false})
|
||||
}
|
||||
}
|
||||
|
@ -270,7 +270,7 @@ export default class acclist extends React.Component{
|
|||
this.setState({white_visible:true})
|
||||
}
|
||||
else{
|
||||
sessionStorage.setItem("white",0)
|
||||
sessionStorage.setItem("white",3)
|
||||
this.setState({white_visible:false})
|
||||
}
|
||||
|
||||
|
|
|
@ -37,11 +37,7 @@ export default class acclist extends React.Component{
|
|||
|
||||
getThemeData(){
|
||||
let params = {}
|
||||
if(sessionStorage.getItem("white") == 1)
|
||||
{
|
||||
params.page = 1
|
||||
}
|
||||
|
||||
params.page = sessionStorage.getItem("white")
|
||||
|
||||
getThemeChoice(params).then((res)=>{
|
||||
handelResponse(res,(req,msg)=>{
|
||||
|
|
Loading…
Reference in New Issue