You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
392 B
24 lines
392 B
export const openLocation = {
|
|
latitude: {
|
|
type: Number,
|
|
required: true
|
|
},
|
|
longitude: {
|
|
type: Number,
|
|
required: true
|
|
},
|
|
scale: {
|
|
type: Number,
|
|
validator (value, params) {
|
|
value = Math.floor(value)
|
|
params.scale = value >= 5 && value <= 18 ? value : 18
|
|
},
|
|
default: 18
|
|
},
|
|
name: {
|
|
type: String
|
|
},
|
|
address: {
|
|
type: String
|
|
}
|
|
}
|
|
|