Ver Fonte

small fix

Michael Wang há 3 anos atrás
pai
commit
9eb727a6a1

+ 1 - 0
src/features/OnlineExam/ExamEnd/ExamEnd.vue

@@ -177,6 +177,7 @@ onUnmounted(() => {
 .container {
   margin: 0 auto;
   width: 80vw;
+  max-width: 800px;
   overflow: auto;
 }
 

+ 1 - 1
src/features/OnlineExam/OnlineExamOverview/OnlineExamOverview.vue

@@ -79,7 +79,7 @@ onMounted(async () => {
     beforeExamRemark = exam.data.BEFORE_EXAM_REMARK || "";
 
     if (examRecordDataId) {
-      startInfo = { courseName };
+      startInfo = { courseName: decodeURIComponent(courseName) };
     } else {
       const timestamp = Date.now();
       const res = await httpApp.post<{

+ 1 - 0
vite.config.ts

@@ -11,6 +11,7 @@ const path = require("path");
 
 // https://vitejs.dev/config/
 export default defineConfig({
+  base: "/oe-web/",
   plugins: [
     vue({ reactivityTransform: true }),
     vueJsx({}),