src/mixins/index.js
@@ -1,7 +1,7 @@ /* * @Date: 2024-01-07 22:18:41 * @LastEditors: Sneed * @LastEditTime: 2024-01-16 01:10:15 * @LastEditTime: 2024-01-16 22:46:42 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/mixins/index.js */ import { getUseDpts, getRequest } from '@/api/Api' @@ -29,8 +29,8 @@ id: { handler (val) { if(val) { debugger getRequest('machineList',{plantId: val}).then(res => { debugger this.plantDeviceList = res.data.list.map(item => { return { machineId: item.id, @@ -50,7 +50,8 @@ } }) } } }, immediate:true } }, mounted () {