This commit is contained in:
Vanessa 2023-08-03 21:43:04 +08:00
parent 91b23f0bb0
commit c6122f2da1
2 changed files with 19 additions and 8 deletions

View file

@ -5,7 +5,9 @@ import {Constants} from "../../constants";
export const resize = (protyle: IProtyle) => {
hideElements(["gutter"], protyle);
setPadding(protyle);
if (setPadding(protyle)) {
return;
}
// 不能 clearTimeout否则 split 时左侧无法 resize
window.setTimeout(() => {
if (typeof echarts !== "undefined") {