绑定落地页模板更新

This commit is contained in:
姜棚 2022-01-22 11:46:15 +08:00
parent ca14e06072
commit 458ac69a76
2 changed files with 5 additions and 9 deletions

View File

@ -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})
}

View File

@ -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)=>{