路由规则增加专属域名设置

This commit is contained in:
GoEdgeLab
2021-12-12 16:38:52 +08:00
parent dcaefa59b6
commit 8f401d7357
5 changed files with 61 additions and 0 deletions

View File

@@ -25,6 +25,13 @@ Vue.component("http-location-labels", {
template: ` <div class="labels-box">
<!-- 基本信息 -->
<http-location-labels-label v-if="location.name != null && location.name.length > 0" :class="'olive'" :href="url('/location')">{{location.name}}</http-location-labels-label>
<!-- domains -->
<div v-if="location.domains != null && location.domains.length > 0">
<grey-label v-for="domain in location.domains">{{domain}}</grey-label>
</div>
<!-- break -->
<http-location-labels-label v-if="location.isBreak" :href="url('/location')">BREAK</http-location-labels-label>
<!-- redirectToHTTPS -->