cz 1 年之前
父節點
當前提交
3ee14b37aa

+ 4 - 2
src/components/Editor/index.vue

@@ -2,7 +2,7 @@
   <!-- <div class="ql-container ql-snow">
     <div class="ql-editor"></div>
   </div> -->
-  <div>
+  <div class="ql-editor">
     <QuillEditor
       ref="myQuillEditor"
       theme="snow"
@@ -97,7 +97,9 @@ const changeHtml = (val, notQuillSource = false) => {
 };
 // 聚焦
 const getFocus = () => {
-  toRaw(myQuillEditor.value).focus();
+  if (myQuillEditor.value) {
+    toRaw(myQuillEditor.value).focus();
+  }
 };
 
 onMounted(() => {

+ 5 - 3
src/views/connect/E-mail/businessConfig/index.vue

@@ -142,15 +142,17 @@
         </byTable>
       </div>
       <template #footer>
-        <el-button @click="dialogVisible = false" size="large">取 消</el-button>
-        <el-button
+        <el-button @click="dialogVisibleOne = false" size="large"
+          >取 消</el-button
+        >
+        <!-- <el-button
           type="primary"
           @click="submitForm('byform')"
           size="large"
           :loading="submitLoading"
         >
           确 定
-        </el-button>
+        </el-button> -->
       </template>
     </el-dialog>
   </div>

+ 3 - 3
src/views/connect/E-mail/mail/com/mailWrite.vue

@@ -482,7 +482,7 @@ const handleReplyInit = (allData, pageType) => {
   //   `<html><p><br></p><p><br></p>${data.content}<html/>`,
   //   true
   // );
-  contentEditor.value.getFocus();
+  // contentEditor.value.getFocus();
   formData.data.replyTo = mailStore.selectMail.mailUser;
 };
 
@@ -533,7 +533,6 @@ defineExpose({
   padding-bottom: 8px;
   display: flex;
   flex-wrap: wrap;
-  margin-top: 10px;
   .att-item {
     width: 200px;
     background-color: #eeeeee;
@@ -542,7 +541,8 @@ defineExpose({
     margin-right: 16px;
     padding-left: 8px;
     display: flex;
-    margin-bottom: 8px;
+    margin-top: 10px;
+    // margin-bottom: 8px;
   }
   .att-name {
     padding-left: 8px;