fix some bug

This commit is contained in:
wjyLearn
2025-10-24 17:20:44 +08:00
parent 81ea36fdd8
commit 82268132e9
352 changed files with 33179 additions and 13515 deletions

View File

@@ -330,10 +330,10 @@ function ShowRecentFileList( pList )
{
let OneFile=pList[n];
let sPath=OneFile['path'];
let sImg=OneFile["image"] || sImages[sPath];
let sPath=DOMPurify.sanitize(OneFile['path']);
let sImg=DOMPurify.sanitize(OneFile["image"]) || sImages[sPath];
let sTime=OneFile['time'];
let sName=OneFile['project_name'];
let sName=DOMPurify.sanitize(OneFile['project_name']);
sImages[sPath] = sImg;
//let index=sPath.lastIndexOf('\\')>0?sPath.lastIndexOf('\\'):sPath.lastIndexOf('\/');