mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-08 07:41:10 +08:00
feat: 新增雨云DNS提供商
This commit is contained in:
@@ -278,6 +278,12 @@ export const ApiProjectConfig: Record<string, ApiProjectType> = {
|
||||
hostRelated: { default: { name: "BTDomain" } },
|
||||
sort: 33,
|
||||
},
|
||||
rainyun: {
|
||||
name: "雨云",
|
||||
icon: "rainyun",
|
||||
type: ["dns"],
|
||||
sort: 33,
|
||||
},
|
||||
plugin: {
|
||||
name: "插件",
|
||||
icon: "plugin",
|
||||
|
||||
@@ -62,8 +62,8 @@ import { testAccess, getPlugins } from "@/api/access";
|
||||
// import { useLocalStorage } from '@vueuse/core'
|
||||
|
||||
import ApiManageForm from "./components/ApiManageModel";
|
||||
import SvgIcon from "@components/SvgIcon";
|
||||
import TypeIcon from "@components/TypeIcon";
|
||||
import SvgIcon from "@/components/svgIcon";
|
||||
import TypeIcon from "@/components/typeIcon";
|
||||
import { noSideSpace } from "@lib/utils";
|
||||
import { JSX } from "vue/jsx-runtime";
|
||||
|
||||
@@ -1269,6 +1269,15 @@ export const useApiFormController = (
|
||||
})
|
||||
);
|
||||
break;
|
||||
case "rainyun":
|
||||
items.push(
|
||||
useFormInput("API Key", "config.api_key", {
|
||||
type: "password",
|
||||
showPasswordOn: "click",
|
||||
allowInput: noSideSpace,
|
||||
}),
|
||||
);
|
||||
break;
|
||||
case "plugin":
|
||||
items.push(
|
||||
useFormCustom(() => {
|
||||
|
||||
Reference in New Issue
Block a user