|
@@ -151,6 +151,10 @@ const handleFocusEditor = () => {
|
|
|
const sendEmail = () => {
|
|
const sendEmail = () => {
|
|
|
const html = editorRef.value.getHtml()
|
|
const html = editorRef.value.getHtml()
|
|
|
const text = editorRef.value.getText()
|
|
const text = editorRef.value.getText()
|
|
|
|
|
+ if (!text) {
|
|
|
|
|
+ ElMessage.warning('Please enter the email content')
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
$api
|
|
$api
|
|
|
.saveDliveryBookingEmail({
|
|
.saveDliveryBookingEmail({
|
|
|
email: emailData.value.email,
|
|
email: emailData.value.email,
|