import { clipboard } from "@/utils"; import { Image } from "@queenjs/ui"; import { useQRCode } from "@vueuse/integrations/useQRCode"; import { Button, Input } from "ant-design-vue"; import { defineComponent } from "vue"; import { any } from "vue-types"; export default defineComponent({ props: { record: any().isRequired, }, emits: ["edit", "update", "changeThumnb"], setup(props, { slots, emit }) { let shareLink = location.origin + "/share.html?id=" + props.record._id; if (location.host == "www.infish.cn") { shareLink = location.origin + "/projects/queenshow/share.html?id=" + props.record._id; } const qrUrl = useQRCode(shareLink, { margin: 2 }); return () => { const { record } = props; return (