Update edit.js
This commit is contained in:
parent
d4dcce4ad9
commit
9ff0fb6e08
|
@ -831,6 +831,12 @@ export default class acclist extends React.Component{
|
|||
this.setState({paytype:e.target.value})
|
||||
}
|
||||
|
||||
keyProductClick(row,index){
|
||||
|
||||
this.setState({drawerVisible2:true})
|
||||
}
|
||||
|
||||
|
||||
render(){
|
||||
|
||||
const Column = [
|
||||
|
@ -933,16 +939,9 @@ export default class acclist extends React.Component{
|
|||
width:'auto'
|
||||
},
|
||||
{
|
||||
title: '商品展示',
|
||||
prop: 'show_url',
|
||||
name: 'show_url',
|
||||
type: "slot",
|
||||
width:'auto',
|
||||
},
|
||||
{
|
||||
title: '商品描述',
|
||||
prop: 'describe_url',
|
||||
name: 'describe_url',
|
||||
title: '操作',
|
||||
prop: 'edit',
|
||||
name: 'edit',
|
||||
type: "slot",
|
||||
width:'auto',
|
||||
},
|
||||
|
@ -1253,7 +1252,10 @@ export default class acclist extends React.Component{
|
|||
value={rowData.describe_url}
|
||||
/>
|
||||
}
|
||||
|
||||
if(com == "edit")
|
||||
{
|
||||
return <span onClick={(e)=>{this.keyProductClick(rowData,rowIndex)}} style={{color:"#2B66F2"}} >编辑</span>
|
||||
}
|
||||
|
||||
}}
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue