公告板
版本库
filestore
活动
搜索
登录
python
/
FunASR-XL
FUNASR训练
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
感觉应该从文件读取更合适,因为上面判断了文件存在,且可以读取,如果本身是文本的话,下面也会有逻辑进行处理 (#2452)
天地
2025-03-26
e24dbdc496debec225414d4d2c760f5775e64f2a
[python/FunASR-XL.git]
/
web-pages
/
src
/
globalFunctions.js
1
2
3
4
5
6
7
8
9
10
11
12
export default {
install (Vue) {
// px 转 rem
Vue.prototype.pxTorem = (px, needUnit) => {
if (needUnit) {
return px / 19.2 + 'rem'
} else {
return px / 19.2
}
}
}
}