|
@@ -719,10 +719,11 @@ export default {
|
|
|
const newFile = new File([blob], 'wrongList.json', { type: 'application/json' });
|
|
|
let blobTool = new BlobTool(sasData.url, this.userInfo.azp, "?" + sasData.sas, 'school')
|
|
|
let path = `student/${this.userInfo.sub}`
|
|
|
+ let curLang = localStorage.getItem("local") || "zh-cn"
|
|
|
blobTool.upload(newFile, {path, checkSize: false}).then(res => {
|
|
|
let blobUrl = encodeURIComponent(res.url + sasData.sas)
|
|
|
let params = {
|
|
|
- pageUrl: `https://teammodeltest.blob.core.chinacloudapi.cn/0-public/bookjs/exam/${this.pdfAnsType ? 'index2' : 'index'}.html?url=${blobUrl}`,
|
|
|
+ pageUrl: `https://teammodeltest.blob.core.chinacloudapi.cn/0-public/bookjs/exam/${this.pdfAnsType ? 'index2' : 'index'}.html?url=${blobUrl}&lang=${curLang}`,
|
|
|
timeout: 40000,
|
|
|
delay: 4000,
|
|
|
orientation: 'portrait',
|