|
@@ -227,6 +227,8 @@ export default {
|
|
|
NumConvertLM,
|
|
|
getData() {
|
|
|
this.listLoading = true
|
|
|
+ if (!this.conditions.startDate) delete this.conditions.startDate
|
|
|
+ if (!this.conditions.endDate) delete this.conditions.endDate
|
|
|
getSensorDataByPage(this.conditions).then((resp) => {
|
|
|
this.listLoading = false
|
|
|
const { code, msg, data, total } = resp
|