Skip to content

Commit

Permalink
修复教育水印无效
Browse files Browse the repository at this point in the history
  • Loading branch information
supermap123 committed Apr 22, 2024
1 parent b6c0ec6 commit 8ee6c42
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion SuperMap iEarth/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,12 @@ const checkLicenseInfo = () => {
console.log("licenseInfo:", licenseInfo);
}
let designerInfo = licenseInfo?.entryInfos.find((info: any) => {
let designerInfo = licenseInfo.data?.entryInfos.find((info: any) => {
return info.licenseID === 21034 || info.licenseID === 65400; //65400 iportal 试用许可
});
if (window.iEarthConsole) {
console.log("designerInfo:", designerInfo);
}
if (designerInfo) {
// 判断许可过期
let timeOut = new Date().getTime() - designerInfo.expireDate.time;
Expand Down

0 comments on commit 8ee6c42

Please sign in to comment.