fix(固资履历): 解决本地共享网盘Windows与Linux访问路径兼容性问题
This commit is contained in:
1 parent
db067085e4
commit
c621f7696c
9 files changed
+154
-125
No files matched your search
@@ -28,6 +28,12 @@ function normalizeAssetHistoryErrorMessage(message: string): string {
|
||||
if (lowerCaseMessage.includes('asset history share is not configured')) {
|
||||
return '当前系统暂未配置资产履历文件目录,暂时无法查看履历,请联系管理员处理。';
|
||||
}
|
||||
if (lowerCaseMessage.includes('asset history share is unreachable')) {
|
||||
return '当前环境暂时无法访问资产履历共享盘,请联系管理员检查测试环境共享盘挂载或访问权限。';
|
||||
}
|
||||
if (lowerCaseMessage.includes('asset history share is invalid')) {
|
||||
return '当前环境的资产履历目录配置无效,请联系管理员检查共享盘目录配置。';
|
||||
}
|
||||
return normalizedMessage || '检索资产履历失败';
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user