1
0
mirror of https://github.com/ZeroCatDev/Classworks.git synced 2026-02-04 07:53:11 +00:00

Change URL parameter from 'data' to 'file'

This commit is contained in:
Sunwuyuan 2026-02-01 14:59:41 +08:00 committed by GitHub
parent f276e9e2ea
commit 67a46797e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1867,7 +1867,7 @@ export default {
const base64Data = btoa(unescape(encodeURIComponent(jsonString))); const base64Data = btoa(unescape(encodeURIComponent(jsonString)));
// examaware://URL // examaware://URL
const ea2Url = `examaware://player?data=${base64Data}`; const ea2Url = `examaware://player?file=${base64Data}`;
// //
window.location.href = ea2Url; window.location.href = ea2Url;