答案 0 :(得分:0)
我修改了你的plunkr here。问题是工具提示的位置设置为显示在右侧,但由于您的输入跨越了视图的整个宽度,因此它被隐藏。
现在,将工具提示位置修改为“底部”可使工具提示显示在焦点上。
vagrant@homestead:~$ mongo 192.168.10.1:27017/admin
MongoDB shell version: 3.2.18
connecting to: 192.168.10.1:27017/admin
2018-01-29T13:18:36.967+0000 W NETWORK [thread1] Failed to connect to 192.168.10.1:27017, in(checking socket for error after poll), reason: errno:111 Connection refused
2018-01-29T13:18:36.968+0000 E QUERY [thread1] Error: couldn't connect to server 192.168.10.1:27017, connection attempt failed :
connect@src/mongo/shell/mongo.js:231:14
@(connect):1:6
exception: connect failed