-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat web terminal #18
Conversation
render: (value: any, row: any) => { | ||
return <span> | ||
<a onClick={handleOpenTerminal.bind(this, row)}>webTerminal</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这改个名叫 终端 吧
const printAble = !(altKey || altGraphKey || ctrlKey || metaKey) // 禁止相关按键 | ||
const totalOffsetLength = inputText.length + prefix.length // 总偏移量 | ||
let currentOffsetLength = terminal._core.buffer.x // 当前x偏移量 | ||
console.log('currentOffsetLength ========= ', currentOffsetLength) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
console 测完之后最好不要留
@@ -46,5 +46,12 @@ module.exports = () => { | |||
|
|||
exports.security = { domainWhiteList }; | |||
|
|||
// exports.ssh = { | |||
// host: '172.16.100.225', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这些信息不要暴露
1、初步搭建webTerminal
2、主机管理增加webTerminal弹窗
#9