chore: 移除autowire特性

This commit is contained in:
xiaojunnuo
2025-04-28 21:55:23 +08:00
parent 048696ee93
commit 0b6941d5ce
25 changed files with 55 additions and 106 deletions

View File

@@ -15,7 +15,7 @@ import { ref, inject } from "vue";
import { Form } from "ant-design-vue";
defineOptions({
name: "ApiTest"
name: "ApiTest",
});
const getScope: any = inject("get:scope");
@@ -49,14 +49,14 @@ const doTest = async () => {
type: pluginType,
typeName: form.type,
action: props.action,
input: pluginType === "plugin" ? form.input : form
input: pluginType === "plugin" ? form.input : form,
},
{
onError(err: any) {
hasError.value = true;
message.value = `错误:${err.message}`;
},
showErrorNotify: false
showErrorNotify: false,
}
);
message.value = "测试请求成功";