Update step3.js

This commit is contained in:
姜棚 2021-11-26 09:50:34 +08:00
parent 59a5473bd8
commit a4f1d6849c
1 changed files with 6 additions and 0 deletions

View File

@ -86,6 +86,11 @@ export default class acclist extends React.Component{
model2.theme_id = e;
this.setState({model:model2})
}
linkToPage(){
let link = window.location.href.replace(window.location.hash, "#/home/mytempMould");
window.open(link, "_blank")
}
render(){
//校验规则
const rules = {
@ -101,6 +106,7 @@ export default class acclist extends React.Component{
this.onThemeChange(e)
Bus.emit('change',"theme_id" ,e);
}} />
<Button type="primary" onClick="linkToPage">新建落地页</Button>
</FormItem>
<FormItem labelname="兑换入口交互" prop="link">
<RadioGroup onChange={(e)=>{ this.onLinkChange(e)} } value={this.state.model.link}>