Compare commits

...

2 Commits

Author SHA1 Message Date
wangxiaoshuang 59fe18fe34 文件名包含特殊字符问题修复
continuous-integration/drone/push Build is passing Details
2024-05-24 14:59:16 +08:00
wangxiaoshuang b07708ebb1 仲裁规则配置问题修复 2024-05-24 14:58:52 +08:00
2 changed files with 11 additions and 3 deletions

View File

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

View File

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