商品编辑
This commit is contained in:
parent
f74e82e7bd
commit
d1f7c697e0
|
@ -278,6 +278,7 @@ export default class acclist extends React.Component{
|
|||
}
|
||||
addProduct(){
|
||||
this.setState({drawerVisible2:true})
|
||||
this.setState({productData:null})
|
||||
}
|
||||
async productSubmit(){
|
||||
|
||||
|
|
|
@ -165,12 +165,13 @@ export default class adduserinfo extends React.Component{
|
|||
}
|
||||
|
||||
async submit(){
|
||||
console.log("编辑数据")
|
||||
if(this.refs.form1.validator())
|
||||
{
|
||||
|
||||
if(this.props.data)
|
||||
{ let temp = []
|
||||
|
||||
console.log(777666)
|
||||
if(sessionStorage.getItem("productData"))
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in New Issue