Compare commits

..

No commits in common. "59fe18fe34bda9f6fab6be42c707c5f63a1ae7d4" and "d7a21af10c510aa22e5efaf39ffa35f096ada15f" have entirely different histories.

2 changed files with 3 additions and 11 deletions

View File

@ -644,12 +644,6 @@ export default {
AnswerGroup: this.QuestionList[index].AnswerGroup2List,
AnswerCombination: this.QuestionList[index].AnswerGroupList,
JudgeType: this.QuestionList[index].JudgeType,
JudgeDifferenceValue: Number(
this.QuestionList[index].JudgeDifferenceValue
),
JudgeDifferenceType: Number(
this.QuestionList[index].JudgeDifferenceType
),
})
.then((res) => {
resolve();
@ -784,8 +778,6 @@ export default {
this.$set(this.QuestionList[index], "AnswerGroup2List", []);
this.$set(this.QuestionList[index], "AnswerGroupList", []);
this.$set(this.QuestionList[index], "JudgeType", 0);
this.$set(this.QuestionList[index], "JudgeDifferenceValue", 0);
this.$set(this.QuestionList[index], "JudgeDifferenceType", 0);
this.$message.success(this.$t("trials:adRules:message:msg7")); // ''
this.btnLoading = false;
this.loading = false;

View File

@ -2237,12 +2237,12 @@ function webViewerInitialized() {
const appConfig = PDFViewerApplication.appConfig;
let file;
const queryString = decodeURIComponent(document.location.search.substring(1));
// console.log(queryString)
// let qs = queryString.replaceAll('+', '%2B')
console.log(queryString)
let qs = queryString.replaceAll('+', '%2B')
// queryString = queryString.replaceAll('+', '%20')
// const params = (0, _ui_utils.parseQueryString)(queryString);
// file = params.get("file") ?? _app_options.AppOptions.get("defaultUrl");
file = queryString.replace('file=', '')
file = qs.replace('file=', '')
validateFileURL(file);
const fileInput = document.createElement("input");
fileInput.id = appConfig.openFileInputName;