diff --git a/frontend/src/api/system/dynamic.js b/frontend/src/api/system/dynamic.js new file mode 100644 index 0000000000..3ab521ed0e --- /dev/null +++ b/frontend/src/api/system/dynamic.js @@ -0,0 +1,22 @@ +import request from '@/utils/request' + +export function get(url) { + return request({ + url: url, + method: 'get' + }) +} + +export function execute(options) { + if (!options || !options.url) { + return null + } + options.type = options.type || 'post' + + return request({ + url: options.url, + method: options.type, + loading: true, + data: options.data + }) +} diff --git a/frontend/src/views/system/plugin/dynamic.vue b/frontend/src/views/system/plugin/dynamic.vue new file mode 100644 index 0000000000..dfdf6b3fa6 --- /dev/null +++ b/frontend/src/views/system/plugin/dynamic.vue @@ -0,0 +1,84 @@ + + + + +