Vue.component("http-location-labels", { props: ["v-location-config"], data: function () { return { location: this.vLocationConfig } }, methods: { // 判断是否已启用某配置 configIsOn: function (config) { return config != null && config.isPrior && config.isOn }, refIsOn: function (ref, config) { return this.configIsOn(ref) && config != null && config.isOn }, len: function (arr) { return (arr == null) ? 0 : arr.length } }, template: `
{{location.name}} BREAK 自动跳转HTTPS 文档根目录 反向代理 {{location.web.charset.charset}} Gzip:{{location.web.gzip.level}} 请求Header 响应Header Websocket
PAGE [状态码{{page.status[0]}}] -> {{page.url}}
临时关闭
` }) Vue.component("http-location-labels-label", { props: ["v-class"], template: `` })