diff --git a/src/components/domainBind.vue b/src/components/domainBind.vue index 669eb51..acf8dad 100644 --- a/src/components/domainBind.vue +++ b/src/components/domainBind.vue @@ -159,6 +159,8 @@ export default { label: '.'+item, value: '.'+item })); + } else { + if(!this.data.domain) this.data.domain = '暂无域名' } return true } @@ -239,7 +241,7 @@ export default { } }).then(response => { if(response.status){ - that.data.domain = that.formData.domain + that.data.domain = '.'+that.formData.domain that.domainOptions.unshift({ label: '.'+that.formData.domain, value: '.'+that.formData.domain