|
@@ -142,7 +142,7 @@ const handleFileUpload = async (files: FileList) => {
|
|
|
|
|
|
|
|
// 调用importPPTXFile并传入signal
|
|
// 调用importPPTXFile并传入signal
|
|
|
await importPPTXFile(files, { signal, onclose: () => {
|
|
await importPPTXFile(files, { signal, onclose: () => {
|
|
|
- emit('setTitle', file.name.replace(/\.[^/.]+$/, '')); emit('close')
|
|
|
|
|
|
|
+ emit('setTitle', file.name.replace(/\.[^/.]+$/, ''), 2); emit('close')
|
|
|
showConfirmDialog({
|
|
showConfirmDialog({
|
|
|
title: lang.ssUploadSuccess,
|
|
title: lang.ssUploadSuccess,
|
|
|
content: lang.ssBatchInteractiveWebConfirm,
|
|
content: lang.ssBatchInteractiveWebConfirm,
|