生成pdf文件和中文字体问题

This commit is contained in:
chenqiang 2025-09-08 06:22:29 +08:00
parent d09a810903
commit 836b38c4b8
7 changed files with 840 additions and 477 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -276,9 +276,9 @@ export default {
if (result && result.success) {
// store
if (result.data) {
this.$store.commit('setPaper', result.data)
}
// if (result.data) {
// this.$store.commit('setPaper', result.data)
// }
this.$message.success('判卷完成!');
} else {
console.error('判卷失败:', result?.message || '未知错误');

View File

@ -324,9 +324,9 @@ export default {
//
this.$store.commit('setPaper', {
id: paperId,
paper_score: 100,
paper_minutes: 120,
paper_minutes_min: 60
paper_score: 0,
paper_minutes: 0,
paper_minutes_min: 0
})
this.canSubmit = false
}
@ -335,9 +335,9 @@ export default {
//
this.$store.commit('setPaper', {
id: paperId,
paper_score: 100,
paper_minutes: 120,
paper_minutes_min: 60
paper_score: 0,
paper_minutes: 0,
paper_minutes_min: 0
})
this.canSubmit = false
}