iot定位设备优化
This commit is contained in:
parent
43db8a77e1
commit
fdcbd84906
|
|
@ -279,8 +279,10 @@ export default {
|
|||
{
|
||||
// 限制输入字母数字 短横线(-) 下划线(_)
|
||||
pattern: /^[a-zA-Z0-9_-]+$/,
|
||||
message: '请输入正确的设备编码',
|
||||
message: '请输入11位的正确设备编码',
|
||||
trigger: 'blur',
|
||||
min: 11,
|
||||
max: 11,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
|||
|
|
@ -266,7 +266,7 @@ export default {
|
|||
},
|
||||
/** 查询按钮 */
|
||||
async handleQuery() {
|
||||
if (this.queryForm.date.length < 1) {
|
||||
if (!this.queryForm.date) {
|
||||
this.$message.error('请选择时间范围!')
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue