diff --git a/frontend/src/api/link/index.js b/frontend/src/api/link/index.js index 5c16783800..57b5e1933d 100644 --- a/frontend/src/api/link/index.js +++ b/frontend/src/api/link/index.js @@ -48,3 +48,10 @@ export function loadGenerate(resourceId) { method: 'post' }) } + +export function loadResource(resourceId) { + return request({ + url: 'panel/group/findOne/' + resourceId, + method: 'get' + }) +} diff --git a/frontend/src/link/Link.vue b/frontend/src/link/Link.vue index e00d2fd5d5..7ee67c92eb 100644 --- a/frontend/src/link/Link.vue +++ b/frontend/src/link/Link.vue @@ -1,5 +1,5 @@ + +