改进界面

This commit is contained in:
GoEdgeLab
2020-11-21 15:53:04 +08:00
parent 6bbc156a11
commit 41428af471
31 changed files with 66 additions and 64 deletions

View File

@@ -53,9 +53,9 @@ Vue.component("dns-route-selector", {
template: `<div>
<input type="hidden" name="dnsRoutesJSON" :value="JSON.stringify(routeCodes)"/>
<div v-if="routes.length > 0">
<tiny-label v-for="route in routes" :key="route.code">
<tiny-basic-label v-for="route in routes" :key="route.code">
{{route.name}} <a href="" @click.prevent="remove(route)"><i class="icon remove"></i></a>
</tiny-label>
</tiny-basic-label>
<div class="ui divider"></div>
</div>
<button type="button" class="ui button small" @click.prevent="add" v-if="!isAdding">+</button>