mirror of
https://github.com/certd/certd.git
synced 2026-04-14 20:40:53 +08:00
chore: 移除autowire特性
This commit is contained in:
@@ -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 = "测试请求成功";
|
||||
|
||||
Reference in New Issue
Block a user