feat: 新增雨云DNS提供商

This commit is contained in:
unknown-o
2025-12-09 11:32:16 +00:00
parent e1818849db
commit 80853d8292
4 changed files with 31 additions and 8 deletions

View File

@@ -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",

View File

@@ -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(() => {