|
|
@@ -1973,12 +1973,12 @@ const togglePanel = () => {
|
|
|
};
|
|
|
|
|
|
// 获取PDF宽度
|
|
|
-const pdfContentWidth = ref<number>(980)
|
|
|
+const pdfContentWidth = ref<number>(1030)
|
|
|
const pdfPanelRef = ref<HTMLDivElement>()
|
|
|
const handleWindowResize = debounce(() => {
|
|
|
if(!pdfPanelRef.value) return
|
|
|
const width = pdfPanelRef.value?.clientWidth - 20
|
|
|
- pdfContentWidth.value = width > 980 ? 980 : width
|
|
|
+ pdfContentWidth.value = width > 1030 ? 1030 : width
|
|
|
|
|
|
//重新加载适应宽度
|
|
|
spreadRef.value?.reloadView();
|