瀏覽代碼

fix: random

Carson 11 月之前
父節點
當前提交
4d1a294230
共有 2 個文件被更改,包括 8 次插入4 次删除
  1. 8 1
      app/run-agent-flow/components/Flow.tsx
  2. 0 3
      app/run-agent-flow/components/Header.tsx

+ 8 - 1
app/run-agent-flow/components/Flow.tsx

@@ -2,7 +2,14 @@
 import React from 'react'
 const Flow = () => {
   return (
-    <div className="shadow-xl rounded-box min-h-[150px] p-2">flow</div>
+    <div className="shadow-xl rounded-box min-h-[150px] p-2">
+      <ul className="steps">
+        <li className="step step-primary">Register</li>
+        <li className="step step-primary">Choose plan</li>
+        <li className="step">Purchase</li>
+        <li className="step">Receive Product</li>
+      </ul>
+    </div>
   )
 }
 export default React.memo(React.forwardRef(Flow))

+ 0 - 3
app/run-agent-flow/components/Header.tsx

@@ -53,9 +53,6 @@ export default function Header() {
         const cookie = await fetch("https://beta.api.cocorobo.cn/api/getcookieuserid", {
           method: "GET",
           credentials: 'include',
-          headers: {
-            Origin: "https://edu.cocorobo.cn"
-          },
         });
         try {
           const cookiejson = await cookie.json();