|
|
|
|
@ -25,7 +25,7 @@ export function deleteInstance(id) {
|
|
|
|
|
|
|
|
|
|
// 刷新实例依赖
|
|
|
|
|
export function refreshInstanceDependency(id) {
|
|
|
|
|
return axios.get(`${urlPrefix}/componentInstance/refreshDeps`, { params: { id } });
|
|
|
|
|
return axios.get(`${urlPrefix}/componentInstance/refreshDeps`, { params: { id } });
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 组件实例日志
|
|
|
|
|
@ -46,4 +46,9 @@ export function getComponentEnvConfig(instanceId) {
|
|
|
|
|
// 保存组件环境配置
|
|
|
|
|
export function saveComponentEnvConfig(instanceId, params) {
|
|
|
|
|
return axios.post(`${urlPrefix}/componentInstance/config/${instanceId}`, params);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 本地启动
|
|
|
|
|
export function localStart(params) {
|
|
|
|
|
return axios.get(`${urlPrefix}/componentInstance/local?componentBaseId=${params.componentBaseId}`);
|
|
|
|
|
}
|