摘要: 1、引入依赖 import { Terminal } from 'xterm' import 'xterm/dist/xterm.css' 2、 实例化 let term = new Terminal({ rendererType: "canvas", //渲染类型 rows: 40, //行数 c 阅读全文
posted @ 2019-05-17 14:56 地铁程序员 阅读(12500) 评论(1) 推荐(2) 编辑