mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 20:04:09 +00:00
[improvement] make props less magic (#3775)
This commit is contained in:
@@ -94,17 +94,14 @@ function SubmitBar(
|
||||
|
||||
SubmitBar.props = {
|
||||
tip: String,
|
||||
tipIcon: String,
|
||||
label: String,
|
||||
price: Number,
|
||||
tipIcon: String,
|
||||
loading: Boolean,
|
||||
disabled: Boolean,
|
||||
buttonText: String,
|
||||
suffixLabel: String,
|
||||
safeAreaInsetBottom: Boolean,
|
||||
price: {
|
||||
type: Number,
|
||||
default: null
|
||||
},
|
||||
decimalLength: {
|
||||
type: Number,
|
||||
default: 2
|
||||
|
Reference in New Issue
Block a user