This commit is contained in:
Sense T 2024-04-09 00:19:03 +08:00
parent 1a7bf83cb9
commit fb9c78efed

View File

@ -4,7 +4,7 @@
<template #header> <template #header>
<span v-if="!domain || !domain.id || domain.id < 1">{{ t('common.new') }}</span><span v-else>{{ <span v-if="!domain || !domain.id || domain.id < 1">{{ t('common.new') }}</span><span v-else>{{
t('common.edit') t('common.edit')
}}</span><span>{{ }}</span><span>{{
t('domains._') }}</span> t('domains._') }}</span>
</template> </template>
<template #header-extra></template> <template #header-extra></template>
@ -201,7 +201,5 @@ function validate(value: string, reg: RegExp, msg: string): Promise<void> {
function easyInput(domain: string) { function easyInput(domain: string) {
props.domain.admin_email = `admin@${domain}` props.domain.admin_email = `admin@${domain}`
props.domain.main_dns = `ns1.${domain}` props.domain.main_dns = `ns1.${domain}`
console.log(props.domain)
} }
</script> </script>