修改宽度计算。。。

This commit is contained in:
暮光:城中城
2021-12-03 00:18:47 +08:00
parent ffa6d669ba
commit 928c79b747
3 changed files with 9 additions and 2 deletions

View File

@@ -158,6 +158,13 @@
},
turnLeftCollapse() {
this.leftCollapse = !this.leftCollapse;
setTimeout(() => {
if (this.leftCollapse) {
this.rightAsideWidthChange(this.rightAsideWidth + 1);
} else {
this.rightAsideWidthChange(1);
}
}, 100);
},
createWiki() {
if (this.choiceSpace > 0) {