- 修复SSH字体过小的问题

This commit is contained in:
dushixiang
2021-03-06 17:20:10 +08:00
parent a55e2118a3
commit 60fbb507f5
3 changed files with 6 additions and 6 deletions

View File

@ -377,10 +377,10 @@ class Access extends Component {
let width = window.innerWidth;
let height = window.innerHeight;
let dpi = Math.floor(window.devicePixelRatio * 96);
// if (protocol === 'ssh' || protocol === 'telnet') {
// dpi = dpi * 2;
// }
let dpi = 96;
if (protocol === 'ssh' || protocol === 'telnet') {
dpi = dpi * 2;
}
let token = getToken();