Commit 84708222 by peii

【OPTIMIZE】多行输入框优化

parent fd8da620
......@@ -66,11 +66,9 @@
&__multi
text-align left
width 100%
border-width 1px
border-color #ddd
padding 10px
border-radius 4px
margin-top 10px
padding 0px
margin-top 15px
flex 1
&-radio
......
......@@ -65,6 +65,7 @@ export default class Input extends Component<IProps> {
maxLength={140}
placeholderTextColor={placehold_text_color}
underlineColorAndroid="transparent"
textAlignVertical={item.multiline ? 'top' : 'center'}
/>
</TouchableOpacity>
)
......
......@@ -205,12 +205,6 @@ class ConsumeForm extends Component<IProps, IState> {
}, 0)
}
componentWillUnmount() {
// this.props.consumeStore.resetOrderLines()
// this.props.consumeStore.setSelectedLines([])
console.log('Consume page will unmount')
}
/**
* @description: 设置配置性的表单字段
* @param {*}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment