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