update resources

This commit is contained in:
QIDI TECH
2025-05-05 14:58:54 +08:00
parent 524bd808f3
commit 3fe258372a
566 changed files with 7708 additions and 5046 deletions

View File

@@ -431,18 +431,26 @@ function OnClickOpenProject()
SendWXMessage( JSON.stringify(tSend) );
}
let RecentClick=true;
function OnOpenRecentFile( strPath )
{
if( RecentPage_Mode!=Recent_Normal )
return;
var tSend={};
tSend['sequence_id']=Math.round(new Date() / 1000);
tSend['command']="homepage_open_recentfile";
tSend['data']={};
tSend['data']['path']=decodeURI(strPath);
SendWXMessage( JSON.stringify(tSend) );
if(RecentClick)
{
RecentClick = false;
setTimeout(() => {
RecentClick = true;
}, 1000);
var tSend={};
tSend['sequence_id']=Math.round(new Date() / 1000);
tSend['command']="homepage_open_recentfile";
tSend['data']={};
tSend['data']['path']=decodeURI(strPath);
SendWXMessage( JSON.stringify(tSend) );
}
}
function OnDeleteRecentFile( )