[improvement] make props less magic (#3775)

This commit is contained in:
neverland
2019-07-08 16:18:19 +08:00
committed by GitHub
parent 642639da6e
commit be96fa2233
55 changed files with 283 additions and 206 deletions
+3 -3
View File
@@ -11,10 +11,10 @@ export default createComponent({
props: {
...routeProps,
icon: String,
dot: Boolean,
name: [String, Number],
info: [String, Number]
icon: String,
name: [Number, String],
info: [Number, String]
},
data() {