2023-08-17 18:19:41 +08:00
|
|
|
// import {genAnti} from "@/api/genAnti";
|
|
|
|
|
|
|
|
|
|
// const popup = document.createElement("div")
|
|
|
|
|
// popup.innerText = "获取Anti"
|
|
|
|
|
// const styles = {
|
|
|
|
|
// position: "fixed",
|
|
|
|
|
// right: '10px',
|
|
|
|
|
// top: '60px',
|
|
|
|
|
// zIndex: 9999,
|
|
|
|
|
// padding: "8px",
|
|
|
|
|
// background: "#409EFF",
|
|
|
|
|
// color: "#fff",
|
|
|
|
|
// borderRadius: "8px",
|
|
|
|
|
// cursor: "pointer"
|
|
|
|
|
// }
|
|
|
|
|
// for (const e in styles) {
|
|
|
|
|
// popup.style[e] = styles[e]
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
// popup.addEventListener('click', async () => {
|
|
|
|
|
// const anti = await genAnti.a()
|
|
|
|
|
// console.log(anti)
|
|
|
|
|
// })
|
|
|
|
|
// document.body.appendChild(popup)
|
|
|
|
|
|