demos: fix parsing url query
This commit is contained in:
@@ -200,8 +200,8 @@ export default {
|
||||
},
|
||||
|
||||
fromString(value) {
|
||||
if (typeof value !== 'string') {
|
||||
return value
|
||||
if (value === null) {
|
||||
return true
|
||||
}
|
||||
|
||||
if (value.match(/^\d*(\.\d+)?$/)) {
|
||||
|
||||
Reference in New Issue
Block a user