Change URL parameter from 'data' to 'file'
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user