From 3ade542d81b68dce8e28a671965670a3a83dfa53 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期日, 22 八月 2021 10:42:58 +0800 Subject: [PATCH] fix 修复 druid 监控 集群模式下 无法路由到同一台服务器问题 nginx 使用 ip_hash 路由方式 保障同 ip 路由到同服务器 --- ruoyi-ui/src/views/tool/swagger/index.vue | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/ruoyi-ui/src/views/tool/swagger/index.vue b/ruoyi-ui/src/views/tool/swagger/index.vue new file mode 100644 index 0000000..b782968 --- /dev/null +++ b/ruoyi-ui/src/views/tool/swagger/index.vue @@ -0,0 +1,15 @@ +<template> + <i-frame :src="url" /> +</template> +<script> +import iFrame from "@/components/iFrame/index"; +export default { + name: "Swagger", + components: { iFrame }, + data() { + return { + url: process.env.VUE_APP_BASE_API + "/doc.html" + }; + }, +}; +</script> -- Gitblit v1.9.3