Skip to content

Commit 3b29e50

Browse files
committed
fix: 暂时取消 doc 导出按钮避免误会
1 parent a4a50cf commit 3b29e50

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

src/components/popovers/ExportPopover.vue

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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();
1818
const {
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
6161
async function handleExportDocx() {
6262
try {

0 commit comments

Comments
 (0)