Przeglądaj źródła

补充替换方法

Qukatie 6 miesięcy temu
rodzic
commit
f97921e66d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/components/iosbasic-data/mail-component.vue

+ 1 - 1
src/components/iosbasic-data/mail-component.vue

@@ -215,7 +215,7 @@ export default {
             let param = {
                 fileName: this.formData.attachments,
                 fileType: nowFile.value,
-                sendTo: this.formData.to(",\n", ";"),
+                sendTo: this.formData.to.replace(",\n", ";"),
                 mailTitle: this.formData.subject,
                 mailContent: this.formData.content,
                 fileContent: this.formData.fileContent,