diff --git a/pages/ProductManage/UpperShaftCut.vue b/pages/ProductManage/UpperShaftCut.vue index 68641f2..e8fd04f 100644 --- a/pages/ProductManage/UpperShaftCut.vue +++ b/pages/ProductManage/UpperShaftCut.vue @@ -95,7 +95,12 @@ /** 设备下拉框 */ async _queryDeviceByarea (e) { let res = await queryDeviceByarea(e) - this.options3 = [...res.data] + if (res && res.data) { + res.data.map(el => { + el.value = el.text + }) + this.options3 = [...res.data] + } }, selectChange3(e) { this.index3 = e