fix(email): complete mail settings and templates
This commit is contained in:
1 parent
4f8ab94fac
commit
4833053a5c
29 files changed
+716
-426
No files matched your search
@@ -273,6 +273,17 @@
|
||||
v-html="schema.content || modelValue || ''"
|
||||
/>
|
||||
|
||||
<!-- Action button -->
|
||||
<n-button
|
||||
v-else-if="schema.type === 'button'"
|
||||
:type="schema.buttonType || 'default'"
|
||||
:loading="schema.loading"
|
||||
:disabled="schema.disabled"
|
||||
@click="emit('action', schema.key)"
|
||||
>
|
||||
{{ schema.buttonText || schema.label || '执行' }}
|
||||
</n-button>
|
||||
|
||||
<!-- Date picker -->
|
||||
<n-date-picker
|
||||
v-else-if="schema.type === 'date'"
|
||||
@@ -645,7 +656,7 @@ const props = defineProps({
|
||||
errorMessage: { type: String, default: '' },
|
||||
})
|
||||
|
||||
const emit = defineEmits(['update:modelValue'])
|
||||
const emit = defineEmits(['update:modelValue', 'action'])
|
||||
|
||||
const secretMarkedForClear = computed(() => props.schema.secret && props.modelValue === '__AKSRT_CLEAR_SECRET__')
|
||||
const secretDisplayValue = computed(() => secretMarkedForClear.value ? '' : props.modelValue)
|
||||
|
||||
Reference in new issue
Block a user