@@ -71,7 +71,7 @@
<el-button
size="small"
type="primary"
- @click="copy2(item.master_url)"
+ @click="copy2(item.api_url + 'swagger-ui.html#/')"
>复制链接</el-button
>
</div>
@@ -157,7 +157,7 @@
@@ -439,7 +439,9 @@ async function deleteItem(id, index, type) {
init();
}
-function goTo(url) {}
+function goTo(url) {
+ window.open(url, "_blank");
+}
function copy2(url) {
console.log(url);