shop attribute name update
This commit is contained in:
parent
7a0c7af702
commit
3c48f80515
@ -160,10 +160,10 @@ class ShopTypeInteractionComp extends Component {
|
||||
}
|
||||
|
||||
aliCancelButton() {
|
||||
// 只有店铺页面才有onAliCurtainValueFromChild
|
||||
// 只有店铺页面才有onAliValueFromChild
|
||||
|
||||
if (this.props.hasOwnProperty('onAliCurtainValueFromChild')) {
|
||||
this.props.onAliCurtainValueFromChild(false)
|
||||
if (this.props.hasOwnProperty('onAliValueFromChild')) {
|
||||
this.props.onAliValueFromChild(false)
|
||||
} else {
|
||||
this.setState({
|
||||
AliIsShowPicker: false
|
||||
@ -172,9 +172,9 @@ class ShopTypeInteractionComp extends Component {
|
||||
|
||||
}
|
||||
aliConfirmButton() {
|
||||
// 只有店铺页面才有onAliCurtainValueFromChild
|
||||
if (this.props.hasOwnProperty('onAliCurtainValueFromChild')) {
|
||||
this.props.onAliCurtainValueFromChild(false)
|
||||
// 只有店铺页面才有onAliValueFromChild
|
||||
if (this.props.hasOwnProperty('onAliValueFromChild')) {
|
||||
this.props.onAliValueFromChild(false)
|
||||
} else {
|
||||
this.setState({
|
||||
AliIsShowPicker: false
|
||||
|
@ -581,7 +581,7 @@ class Shop extends Component {
|
||||
})
|
||||
}
|
||||
// 这个函数只针对店铺页面
|
||||
getAliCurtainValueFromChild(value){
|
||||
getAliValueFromChild(value){
|
||||
this.setState({
|
||||
aliShowCurtain:value
|
||||
})
|
||||
@ -831,7 +831,7 @@ class Shop extends Component {
|
||||
// selectedValue={this.state.shopTypeSelected}
|
||||
isShowCurtain={this.state.aliShowCurtain}
|
||||
onPassDataToChild={this.getDataFromShopChild.bind(this)}
|
||||
onAliCurtainValueFromChild={this.getAliCurtainValueFromChild.bind(this)}
|
||||
onAliValueFromChild={this.getAliValueFromChild.bind(this)}
|
||||
></AliShopTypeInteraction>}
|
||||
</View>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user