兑换码bug

This commit is contained in:
red-deng-deng 2021-11-24 20:43:04 +08:00
parent 04746ac453
commit 60650d994d
2 changed files with 4 additions and 4 deletions

View File

@ -221,7 +221,7 @@ export default class commoditylist extends React.Component{
<p className="codetable dflexj"> <p className="codetable dflexj">
<span> <span>
<Button type="danger" onClick={this.batchdelFn.bind(this)}>批量删除</Button> {/* <Button type="danger" onClick={this.batchdelFn.bind(this)}>批量删除</Button> */}
</span> </span>
{/* <Button type="info">批量操作</Button> */} {/* <Button type="info">批量操作</Button> */}

View File

@ -146,7 +146,7 @@ export default class acclist extends React.Component{
}, },
{ {
"path": "/home/exchangecode-add", "path": "/home/exchangecode-add",
"name": row.name+"兑换码的商品范围列表" "name": row.title+"兑换码的商品范围列表"
} }
]}] ]}]
sessionStorage.setItem("code_id",row.id) sessionStorage.setItem("code_id",row.id)
@ -306,7 +306,7 @@ export default class acclist extends React.Component{
componentWillMount(){ componentWillMount(){
let selt=this; let selt=this;
this.setState({tableHeight:window.innerHeight-390}); this.setState({tableHeight:window.innerHeight-390});
this.getCodeListFn(); // this.getCodeListFn();
} }
// 监听组件内部状态的变化: // 监听组件内部状态的变化:
componentDidUpdate(prevProps,prevState){ componentDidUpdate(prevProps,prevState){