¶Ô±ÈÐÂÎļþ |
| | |
| | | export default { |
| | | props: { |
| | | // å½åformçéè¦éªè¯å段çéå |
| | | model: { |
| | | type: Object, |
| | | default: uni.$u.props.form.model |
| | | }, |
| | | // éªè¯è§å |
| | | rules: { |
| | | type: [Object, Function, Array], |
| | | default: uni.$u.props.form.rules |
| | | }, |
| | | // æé误æ¶çæç¤ºæ¹å¼ï¼message-æç¤ºä¿¡æ¯ï¼toast-è¿è¡toastæç¤º |
| | | // border-bottom-ä¸è¾¹æ¡åç°çº¢è²ï¼none-æ æç¤º |
| | | errorType: { |
| | | type: String, |
| | | default: uni.$u.props.form.errorType |
| | | }, |
| | | // æ¯å¦æ¾ç¤ºè¡¨ååçä¸åçº¿è¾¹æ¡ |
| | | borderBottom: { |
| | | type: Boolean, |
| | | default: uni.$u.props.form.borderBottom |
| | | }, |
| | | // labelçä½ç½®ï¼left-左边ï¼top-ä¸è¾¹ |
| | | labelPosition: { |
| | | type: String, |
| | | default: uni.$u.props.form.labelPosition |
| | | }, |
| | | // labelç宽度ï¼åä½px |
| | | labelWidth: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.form.labelWidth |
| | | }, |
| | | // lableåä½ç坹齿¹å¼ |
| | | labelAlign: { |
| | | type: String, |
| | | default: uni.$u.props.form.labelAlign |
| | | }, |
| | | // lableçæ ·å¼ï¼å¯¹è±¡å½¢å¼ |
| | | labelStyle: { |
| | | type: Object, |
| | | default: uni.$u.props.form.labelStyle |
| | | } |
| | | } |
| | | } |