diff --git a/web/public/js/components/iplist/ip-box.js b/web/public/js/components/iplist/ip-box.js index 72a3565a..3a9164d4 100644 --- a/web/public/js/components/iplist/ip-box.js +++ b/web/public/js/components/iplist/ip-box.js @@ -1,14 +1,17 @@ Vue.component("ip-box", { - props: [], + props: ["v-ip"], methods: { popup: function () { - let e = this.$refs.container - let text = e.innerText - if (text == null) { - text = e.textContent + let ip = this.vIp + if (ip == null || ip.length == 0) { + let e = this.$refs.container + ip = e.innerText + if (ip == null) { + ip = e.textContent + } } - teaweb.popup("/servers/ipbox?ip=" + text, { + teaweb.popup("/servers/ipbox?ip=" + ip, { width: "50em", height: "30em" }) diff --git a/web/public/js/components/server/http-access-log-box.js b/web/public/js/components/server/http-access-log-box.js index f29cb1b0..efd6529f 100644 --- a/web/public/js/components/server/http-access-log-box.js +++ b/web/public/js/components/server/http-access-log-box.js @@ -51,7 +51,7 @@ Vue.component("http-access-log-box", { template: `
用来作为附加的TCP OPTION值,通常是254(即0xfe)。
+用来作为附加的TCP OPTION值,通常是254(即0xfe),请查阅云服务商文档来确认此值。