src/sfc/ShopNameAndID.vue
@@ -2,7 +2,7 @@ 将选择的设备编号返回给父组件 --> <script> import axiosInstance from '../utils/request.js' import axiosInstanceInstance from '../utils/request.js' export default { // 默认选择一个 // props:{ @@ -36,7 +36,7 @@ methods: { getDeviceInfo() { // 级联下拉框数据 从接口中动态获取 axiosInstance.get('/fume/device').then((result) => { axiosInstanceInstance.get('/fume/device').then((result) => { this.deviceInfo = result.data.data; this.deviceInfo.forEach((item) => { this.optionsShop[this.optionsShop.length] = {