|
@@ -1959,7 +1959,9 @@ $(document).ready(function() {
|
|
|
|
|
|
|
|
const showSideTools = function(show) {
|
|
const showSideTools = function(show) {
|
|
|
const left = $('#left-view'), right = $('#right-view'), parent = left.parent();
|
|
const left = $('#left-view'), right = $('#right-view'), parent = left.parent();
|
|
|
|
|
+ const uploadTipsPanel = $('#filing-upload-tips-panel');
|
|
|
if (show) {
|
|
if (show) {
|
|
|
|
|
+ uploadTipsPanel.hide();
|
|
|
right.show();
|
|
right.show();
|
|
|
autoFlashHeight();
|
|
autoFlashHeight();
|
|
|
const percent = 100 - right.outerWidth() / parent.width() * 100;
|
|
const percent = 100 - right.outerWidth() / parent.width() * 100;
|
|
@@ -1967,6 +1969,7 @@ $(document).ready(function() {
|
|
|
} else {
|
|
} else {
|
|
|
left.css('width', '100%');
|
|
left.css('width', '100%');
|
|
|
right.hide();
|
|
right.hide();
|
|
|
|
|
+ uploadTipsPanel.show();
|
|
|
}
|
|
}
|
|
|
// 容器宽度变化后再刷新 SpreadJS,避免继续使用展开前的画布尺寸。
|
|
// 容器宽度变化后再刷新 SpreadJS,避免继续使用展开前的画布尺寸。
|
|
|
setTimeout(refreshSideLayout, 0);
|
|
setTimeout(refreshSideLayout, 0);
|