mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
perf: 插件贡献文档及示例
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
import { defineComponent, reactive, ref, watch } from "vue";
|
||||
import * as api from "../api";
|
||||
import CertAccessModal from "./access/index.vue";
|
||||
import { GetProviderDefineByAccessType } from "../api";
|
||||
|
||||
export default defineComponent({
|
||||
name: "PiAccessSelector",
|
||||
|
||||
@@ -47,3 +47,11 @@ export function GetProviderDefine(type: string) {
|
||||
params: { type }
|
||||
});
|
||||
}
|
||||
|
||||
export function GetProviderDefineByAccessType(type: string) {
|
||||
return request({
|
||||
url: apiPrefix + "/defineByAccessType",
|
||||
method: "post",
|
||||
params: { type }
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user