File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 <div class =" export-item" @click =" handleCopyText" >导出到剪切板</div >
44 <div class =" export-item" @click =" handleExportText" >导出为 TEXT</div >
55 <div class =" export-item" @click =" handleExportHtml" >导出为 HTML</div >
6- <div class =" export-item" @click =" handleExportDoc" >导出为 DOC</div >
6+ <!-- < div class="export-item" @click="handleExportDoc">导出为 DOC</div> -- >
77 <div class =" export-item" @click =" handleExportDocx" >导出为 DOCX</div >
88 <div class =" export-item" @click =" handleExportProject" >
99 导出为工程文件
@@ -18,7 +18,7 @@ const projectManager = useProjectManager();
1818const {
1919 exportAsText,
2020 exportAsHtml,
21- exportAsDoc,
21+ // exportAsDoc,
2222 exportAsDocx,
2323 copyExportToClipboard,
2424} = useExport ();
@@ -49,14 +49,14 @@ async function handleExportHtml() {
4949 }
5050}
5151
52- async function handleExportDoc() {
53- try {
54- await exportAsDoc ();
55- } catch (error ) {
56- console .error (error );
57- alert (' 导出 Doc 时发生错误' );
58- }
59- }
52+ // async function handleExportDoc() {
53+ // try {
54+ // await exportAsDoc();
55+ // } catch (error) {
56+ // console.error(error);
57+ // alert('导出 Doc 时发生错误');
58+ // }
59+ // }
6060
6161async function handleExportDocx() {
6262 try {
You can’t perform that action at this time.
0 commit comments