diff --git a/src/apis/asset/index.js b/src/apis/asset/index.js index 91a9098..d50854b 100644 --- a/src/apis/asset/index.js +++ b/src/apis/asset/index.js @@ -17,8 +17,8 @@ import instance from "@/util/request"; import apihandler from "@/util/apihandler"; import { object } from "yup"; -export const getAssetSubList = async (variable_id) => { - const res = await instance.post(GET_ASSET_SUB_LIST_API, { variable_id }); +export const getAssetSubList = async (id) => { + const res = await instance.post(GET_ASSET_SUB_LIST_API, { id }); return apihandler(res.code, res.data, { msg: res.msg, diff --git a/src/components/forge/Forge.vue b/src/components/forge/Forge.vue index 5013130..e55b62d 100644 --- a/src/components/forge/Forge.vue +++ b/src/components/forge/Forge.vue @@ -1,7 +1,7 @@ diff --git a/src/views/operation/components/OperationSearchSubSys.vue b/src/views/operation/components/OperationSearchSubSys.vue index bfef454..4ca981c 100644 --- a/src/views/operation/components/OperationSearchSubSys.vue +++ b/src/views/operation/components/OperationSearchSubSys.vue @@ -1,12 +1,12 @@