1
0
mirror of https://github.com/ZeroCatDev/Classworks.git synced 2026-02-04 16:03:10 +00:00

更改examaware协议URL参数,从'file'改为'data'

This commit is contained in:
Sunwuyuan 2026-02-01 09:28:23 +00:00
parent 67a46797e0
commit 2f02dd951f

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?file=${base64Data}`; const ea2Url = `examaware://player?data=${encodeURIComponent(base64Data)}`;
// //
window.location.href = ea2Url; window.location.href = ea2Url;