"d2-count-up"组件起始值与结束值支持传入字符串数值,避免“类型检查失败”警告。
This commit is contained in:
parent
9c2d7900b9
commit
fd146faeb7
|
|
@ -9,11 +9,11 @@ export default {
|
|||
name: 'd2-count-up',
|
||||
props: {
|
||||
start: {
|
||||
type: Number,
|
||||
type: [Number, String],
|
||||
default: 0
|
||||
},
|
||||
end: {
|
||||
type: Number,
|
||||
type: [Number, String],
|
||||
default: 0
|
||||
},
|
||||
decimals: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue