🔨 执行日志.
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
<style lang="less" scoped>
|
||||
.editor-wrapper {
|
||||
width: 100%;
|
||||
height: calc(100% - 66px);
|
||||
height: calc(100% - 56px);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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) {
|
||||
// 卸载可能会报错
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user