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-17 23:06:26 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/mixins/index.js */ import { getUseDpts, getRequest } from '@/api/Api' @@ -29,7 +29,6 @@ id: { handler (val) { if(val) { debugger getRequest('machineList',{plantId: val}).then(res => { this.plantDeviceList = res.data.list.map(item => { return { @@ -50,7 +49,8 @@ } }) } } }, immediate:true } }, mounted () {