diff --git a/src/main/resources/static/js/index.js b/src/main/resources/static/js/index.js index 56ded80..a664f2b 100644 --- a/src/main/resources/static/js/index.js +++ b/src/main/resources/static/js/index.js @@ -37,8 +37,8 @@ $(document).ready(function() { "--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED\n" + "--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED"; copyText(text) - .then((result) => { - alert(result); + .then(() => { + alert("VM options已复制成功"); }); };