fix: 删除原有菜单'系统参数'、'角色管理',初步整合xpack插件模块

This commit is contained in:
fit2cloud-chenyw
2021-05-30 20:24:54 +08:00
parent d6d6dcda18
commit ae733b0776
32 changed files with 635 additions and 72 deletions

View File

@@ -1,6 +1,7 @@
import request from '@/utils/request'
const pathMap = {
queryPath: '/api/plugin/pluginGrid/'
queryPath: '/api/plugin/pluginGrid/',
uninstallPath: 'api/plugin/uninstall/'
}
export function pluginLists(page, size, data) {
return request({
@@ -11,3 +12,11 @@ export function pluginLists(page, size, data) {
})
}
export function uninstall(pluginId) {
return request({
url: pathMap.queryPath + pluginId,
method: 'post',
loading: true
})
}