feat(SubmitBar): decimal-length can be string

This commit is contained in:
陈嘉涵
2020-01-31 09:57:15 +08:00
parent 3c2afab6d8
commit 21a0d4e877
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -109,11 +109,12 @@ SubmitBar.props = {
tipIcon: String,
loading: Boolean,
disabled: Boolean,
textAlign: String,
buttonText: String,
suffixLabel: String,
safeAreaInsetBottom: Boolean,
decimalLength: {
type: Number,
type: [Number, String],
default: 2,
},
currency: {
@@ -124,7 +125,6 @@ SubmitBar.props = {
type: String,
default: 'danger',
},
textAlign: String,
};
export default createComponent<SubmitBarProps, {}, SubmitBarSlots>(SubmitBar);