[域名解析]优化解析状态显示

This commit is contained in:
GoEdgeLab
2020-12-23 16:49:53 +08:00
parent 834008448c
commit cb006446a3
17 changed files with 557 additions and 18 deletions

View File

@@ -44,9 +44,11 @@ Vue.component("popup-icon", {
props: ["title", "href", "height"],
methods: {
clickPrevent: function () {
teaweb.popup(this.href, {
height: this.height
})
if (this.href != null && this.href.length > 0) {
teaweb.popup(this.href, {
height: this.height
})
}
}
},
template: `<span><slot></slot>&nbsp;<a href="" :title="title" @click.prevent="clickPrevent"><i class="icon clone outline small"></i></a></span>`