excel 预览

This commit is contained in:
cwchen 2025-11-12 18:36:32 +08:00
parent 9c4c2f1f28
commit eed2bcd924
1 changed files with 6 additions and 16 deletions

View File

@ -247,9 +247,9 @@ export default {
allowEdit: false, allowEdit: false,
showtoolbar: false, showtoolbar: false,
showsheetbar: sheetData.length > 1, showsheetbar: sheetData.length > 1,
showstatisticBar: false, showstatisticBar: true,
enableAddRow: false, enableAddRow: false,
enableAddCol: false enableAddCol: false,
}); });
console.log('LuckySheet 初始化成功'); console.log('LuckySheet 初始化成功');
@ -329,7 +329,7 @@ export default {
<style scoped> <style scoped>
.document-excel { .document-excel {
height: 100vh; height: 90vh;
background: #f5f5f5; background: #f5f5f5;
} }
@ -382,18 +382,8 @@ export default {
width: 100% !important; width: 100% !important;
} }
/* 响应式设计 */
@media (max-width: 768px) { ::v-deep #luckysheet_info_detail{
.document-excel { display: none !important;
height: calc(100vh - 60px);
}
.state-icon {
font-size: 36px;
}
.state-panel p {
font-size: 12px;
}
} }
</style> </style>