Compare commits
2 Commits
d7a21af10c
...
59fe18fe34
Author | SHA1 | Date |
---|---|---|
|
59fe18fe34 | |
|
b07708ebb1 |
|
@ -644,6 +644,12 @@ 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();
|
||||
|
@ -778,6 +784,8 @@ 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;
|
||||
|
|
|
@ -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 = qs.replace('file=', '')
|
||||
file = queryString.replace('file=', '')
|
||||
validateFileURL(file);
|
||||
const fileInput = document.createElement("input");
|
||||
fileInput.id = appConfig.openFileInputName;
|
||||
|
|
Loading…
Reference in New Issue