diff --git a/src/pages/devicesSearch/ocrSearch2.vue b/src/pages/devicesSearch/ocrSearch2.vue index e133412..dcba517 100644 --- a/src/pages/devicesSearch/ocrSearch2.vue +++ b/src/pages/devicesSearch/ocrSearch2.vue @@ -45,7 +45,7 @@ {{ codeData.maCode }} - + {{ codeData.maStatus }} @@ -309,13 +309,14 @@ export default { // 标签改变 async changeTag() { - const selectedOption = this.optionList.find(option => option.value === this.queryCodeParams.maId) + const selectedOption = this.optionList.find(option => option.value == this.queryCodeParams.maId) console.log('🚀 ~ changeTag ~ selectedOption:', selectedOption) if (!this.queryCodeParams.maId) return; try { const response = await getDeviceListAPINew({'maId': this.queryCodeParams.maId, devType: selectedOption.devType}) if (response.data && response.data.length !== 0) { this.codeData = response.data[0] + this.codeData.devType = selectedOption.devType setTimeout(() => { this.handleIsOverToday() }, 500)