dashboard
repositories
filestore
activity
search
login
admin
/
command-center-dashboard
forked from
drone/command-center-dashboard
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
feat:换叠加背景
chenyao
2025-03-27
4b6bb2df2ea7edde4912b0ca1ccc95710ce3bdb8
[~admin/command-center-dashboard.git]
/
src
/
utils
/
pxConver.js
1
2
3
4
5
6
export const wToR = width => {
return width * 0.1 + 'rem';
};
export const hToV = height => {
return height / 10.8 + 'vh';
};