mirror of
https://github.com/dataease/dataease.git
synced 2026-05-18 17:58:11 +08:00
fix: 删除原有菜单'系统参数'、'角色管理',初步整合xpack插件模块
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user