Browse Source

服务设置 域名绑定组件设置默认值

master
pengda 2 days ago
parent
commit
2b72496fe7
  1. 4
      src/components/domainBind.vue

4
src/components/domainBind.vue

@ -159,6 +159,8 @@ export default {
label: '.'+item, label: '.'+item,
value: '.'+item value: '.'+item
})); }));
} else {
if(!this.data.domain) this.data.domain = '暂无域名'
} }
return true return true
} }
@ -239,7 +241,7 @@ export default {
} }
}).then(response => { }).then(response => {
if(response.status){ if(response.status){
that.data.domain = that.formData.domain that.data.domain = '.'+that.formData.domain
that.domainOptions.unshift({ that.domainOptions.unshift({
label: '.'+that.formData.domain, label: '.'+that.formData.domain,
value: '.'+that.formData.domain value: '.'+that.formData.domain

Loading…
Cancel
Save