|
|
|
@ -1,7 +1,5 @@
|
|
|
|
|
import { useState } from "react";
|
|
|
|
|
import { Popover, message, FloatButton, Button, Form, Input } from "antd";
|
|
|
|
|
import "antd/dist/reset.css";
|
|
|
|
|
import "dayjs/locale/zh-cn";
|
|
|
|
|
import { BugOutlined } from "@ant-design/icons";
|
|
|
|
|
import useAuthStore from "@/stores/Auth";
|
|
|
|
|
import { uploadPageSpyLog, sendNotify } from "@/pageSpy";
|
|
|
|
@ -58,18 +56,19 @@ function LogUploader() {
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<>{contextHolder}
|
|
|
|
|
<Popover
|
|
|
|
|
content={popoverContent}
|
|
|
|
|
trigger={["click"]}
|
|
|
|
|
placement="topRight"
|
|
|
|
|
open={open}
|
|
|
|
|
onOpenChange={handleOpenChange}
|
|
|
|
|
fresh
|
|
|
|
|
destroyOnHidden
|
|
|
|
|
>
|
|
|
|
|
<FloatButton icon={<BugOutlined />} />
|
|
|
|
|
</Popover>
|
|
|
|
|
<>
|
|
|
|
|
{contextHolder}
|
|
|
|
|
<Popover
|
|
|
|
|
content={popoverContent}
|
|
|
|
|
trigger={["click"]}
|
|
|
|
|
placement="topRight"
|
|
|
|
|
open={open}
|
|
|
|
|
onOpenChange={handleOpenChange}
|
|
|
|
|
fresh
|
|
|
|
|
destroyOnHidden
|
|
|
|
|
>
|
|
|
|
|
<FloatButton icon={<BugOutlined />} />
|
|
|
|
|
</Popover>
|
|
|
|
|
</>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|