智能照明系统APP-本地串口
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.
LightingSystemApp-serial/.svn/pristine/16/160c493bc6296495076f2706927...

25 lines
392 B

3 years ago
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
}
}