diff --git a/packages/system-client/src/api/application.js b/packages/system-client/src/api/application.js
index afd1791240..25d90dbe63 100644
--- a/packages/system-client/src/api/application.js
+++ b/packages/system-client/src/api/application.js
@@ -82,6 +82,19 @@ export async function updateApplication(appid, { name }) {
return res
}
+/**
+ * 删除(释放)应用
+ * @param {*} appid
+ * @returns
+ */
+export async function removeApplication(appid) {
+ const res = await request({
+ url: `/apps/${appid}`,
+ method: 'delete'
+ })
+ return res
+}
+
/**
* 添加协作成员
* @param {member_id, roles}
diff --git a/packages/system-client/src/views/application/index.vue b/packages/system-client/src/views/application/index.vue
index 6d8298e4da..3c732231e9 100644
--- a/packages/system-client/src/views/application/index.vue
+++ b/packages/system-client/src/views/application/index.vue
@@ -51,14 +51,14 @@
-
+
开发管理
编辑
-
+
释放
@@ -109,14 +109,14 @@
-
+
开发管理
编辑
-
+
释放
@@ -151,7 +151,8 @@