查询域名页面当输入框有值时,切换域名后缀自动触发查询
This commit is contained in:
parent
4b635041a5
commit
2a6e3f0611
@ -701,6 +701,16 @@ export default {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
// 监听域名后缀变化,当有域名输入时自动查询
|
||||||
|
selectedSuffix: {
|
||||||
|
handler(newSuffix, oldSuffix) {
|
||||||
|
if (oldSuffix && this.domainName && this.domainName.trim()) {
|
||||||
|
this.checkDomain();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
computed: {
|
computed: {
|
||||||
fullDomain() {
|
fullDomain() {
|
||||||
if (!this.domainName) return '';
|
if (!this.domainName) return '';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user