跳转到内容

Widget:Uploader:修订间差异

来自萌娘共享
无编辑摘要
无编辑摘要
第844行: 第844行:
                 if (!url) { return; }
                 if (!url) { return; }
                 this.files.push(this.createFileItem(url));
                 this.files.push(this.createFileItem(url));
            },
            copyFileName(fileName) {
                const inputTag = document.createElement("input");
                inputTag.value = fileName;
                inputTag.style.cssText = "position: fixed; left: -9999px;";
                document.body.appendChild(inputTag);
                inputTag.focus();
                document.execCommand("selectAll");
                document.execCommand("copy");
                setTimeout(() => document.body.removeChild(inputTag), 1000);
             },
             },



2025年7月22日 (二) 22:22的版本