This commit is contained in:
Liang Ding 2023-05-04 19:48:03 +08:00
parent 9d1a04a12a
commit 75c9dcf407
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 163 additions and 1 deletions

View file

@ -17,7 +17,7 @@ const runCode = (code: string, sourceURL: string) => {
}
export const loadPlugins = (app: App) => {
fetchPost("/api/plugin/loadPlugins", {}, response => {
fetchPost("/api/petal/loadPetals", {}, response => {
let css = "";
response.data.forEach((item: { id: string, name: string, jsCode: string, cssCode: string, lang: IObject }) => {
const moduleObj = {}