ソースを参照

fix: 修复 ServiceFormClient 中的 Antd 警告及编译错误

nahida 1 ヶ月 前
コミット
2455f55d6b
2 ファイル変更2 行追加4 行削除
  1. 0 3
      src/app/support/ServiceFormClient.tsx
  2. 2 1
      src/app/support/page.tsx

+ 0 - 3
src/app/support/ServiceFormClient.tsx

@@ -116,9 +116,6 @@ export default function ServiceFormClient() {
               activeBorderColor: "#3b82f6",
               colorBgContainer: "rgba(255, 255, 255, 0.05)",
             },
-            TextArea: {
-              colorText: "#fff",
-            }
           },
         }}
       >

+ 2 - 1
src/app/support/page.tsx

@@ -19,6 +19,7 @@ export default async function ServicePage() {
     softwareIntroduction: "",
     telephone: ""
   };
+  console.log(basicInfo)
   return (
     <>
       <AnimatedSection effect="slide" direction="left">
@@ -109,7 +110,7 @@ export default async function ServicePage() {
                 <div className="text-white">
                   <p className="text-gray-300 mb-2">中科盛阳服务热线:</p>
                   <p className="text-5xl font-black text-blue-400 drop-shadow-lg tracking-tight">
-                    {basicInfo.telephone}
+                    {basicInfo.serviceHotline}
                   </p>
                 </div>