diff --git a/components.d.ts b/components.d.ts index 2d519971..ad16d299 100644 --- a/components.d.ts +++ b/components.d.ts @@ -24,7 +24,6 @@ declare module 'vue' { AGrid: typeof import('@arco-design/web-vue')['Grid']; AGridItem: typeof import('@arco-design/web-vue')['GridItem']; AInput: typeof import('@arco-design/web-vue')['Input']; - AInputGroup: typeof import('@arco-design/web-vue')['InputGroup']; AInputNumber: typeof import('@arco-design/web-vue')['InputNumber']; AInputPassword: typeof import('@arco-design/web-vue')['InputPassword']; AInputSearch: typeof import('@arco-design/web-vue')['InputSearch']; @@ -47,8 +46,6 @@ declare module 'vue' { ASpace: typeof import('@arco-design/web-vue')['Space']; ASpin: typeof import('@arco-design/web-vue')['Spin']; AStatistic: typeof import('@arco-design/web-vue')['Statistic']; - AStep: typeof import('@arco-design/web-vue')['Step']; - ASteps: typeof import('@arco-design/web-vue')['Steps']; ASubMenu: typeof import('@arco-design/web-vue')['SubMenu']; ASwitch: typeof import('@arco-design/web-vue')['Switch']; ATable: typeof import('@arco-design/web-vue')['Table']; diff --git a/src/views/application-management/services/config/index.ts b/src/views/application-management/services/config/index.ts index b199bbf8..202ff450 100644 --- a/src/views/application-management/services/config/index.ts +++ b/src/views/application-management/services/config/index.ts @@ -484,9 +484,7 @@ export const serviceActions: MoreAction[] = [ status: 'normal', disabled: false, filterFun(currentInfo) { - return ( - get(currentInfo, 'status.summaryStatus') !== ServiceStatus.Undeployed - ); + return get(currentInfo, 'runs', []).length > 0; } }, {