🔨 执行日志.

This commit is contained in:
lijiahang
2024-03-21 13:04:51 +08:00
parent 2a144cfa57
commit 31971b4e06
9 changed files with 45 additions and 38 deletions

View File

@@ -43,7 +43,7 @@
<style lang="less" scoped>
.editor-wrapper {
width: 100%;
height: calc(100% - 66px);
height: calc(100% - 56px);
position: relative;
}

View File

@@ -216,7 +216,7 @@
</script>
<style lang="less" scoped>
@form-width: 420px;
@form-width: 380px;
@history-width: 320px;
@command-gap: @form-width + @history-width + 32px;

View File

@@ -176,7 +176,9 @@ export default class SshSession implements ISshSession {
}
// 加载插件
for (const addon of Object.values(this.addons)) {
this.inst.loadAddon(addon);
if (addon) {
this.inst.loadAddon(addon);
}
}
}
@@ -244,6 +246,7 @@ export default class SshSession implements ISshSession {
// 卸载终端
this.inst.dispose();
} catch (e) {
// 卸载可能会报错
}
}