This commit is contained in:
Vanessa 2023-05-16 00:05:18 +08:00
parent 1ac623ebb1
commit d24f5ae3cf
8 changed files with 26 additions and 28 deletions

View file

@ -637,7 +637,7 @@ export const bazaar = {
} else if (type === "plugin-enable") {
const itemElement = hasClosestByClassName(target, "b3-card");
if (itemElement) {
const enabled = (target as HTMLInputElement).checked
const enabled = (target as HTMLInputElement).checked;
fetchPost("/api/petal/setPetalEnabled", {
packageName: dataObj.name,
enabled,