"d2-count-up"组件起始值与结束值支持传入字符串数值,避免“类型检查失败”警告。
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user