Kunduin преди 7 години
родител
ревизия
0eced88d2c

+ 6 - 1
src/views/student/Code/ProjectDetail/TestDetail.vue

@@ -30,7 +30,12 @@
           <div
             :class="{ 'is-loading': testing }"
             @click="makeTest"
-            :disabled="!(projectDetail.latestDeploy && projectDetail.latestDeploy.status == 'SUCCESS')"
+            :disabled="
+              !(
+                projectDetail.latestDeploy &&
+                projectDetail.latestDeploy.status == 'SUCCESS'
+              )
+            "
             class="button is-primary test-title__action"
           >
             触发测试

+ 3 - 3
src/views/student/Review/ReviewDocDetail/index.vue

@@ -142,10 +142,10 @@ export default {
   margin-right: -1.5rem;
   background: white;
   border-top: 1px solid #eff2f7;
-  position: sticky;
+  /*position: sticky;*/
   top: 0;
-  max-height: 100vh;
-  overflow-y: auto;
+  /*max-height: 100vh;*/
+  /*overflow-y: auto;*/
   box-shadow: $default-shadow;
 }
 

+ 3 - 3
src/views/teacher/Document/docContent.vue

@@ -95,10 +95,10 @@ export default {
   margin-right: -1.5rem;
   background: white;
   border-top: 1px solid #eff2f7;
-  position: sticky;
+  /*position: sticky;*/
   top: 0;
-  max-height: 100vh;
-  overflow-y: auto;
+  /*max-height: 100vh;*/
+  /*overflow-y: auto;*/
   box-shadow: $default-shadow;
 }
 

+ 6 - 1
src/views/teacher/Result/index.vue

@@ -16,7 +16,12 @@
         <div class="form-group">
           <!--下拉框-->
           <b-field>
-            <a class="button is-link" :disabled="isNoResult" @click="exportStudentResult">导出作业成绩</a>
+            <a
+              class="button is-link"
+              :disabled="isNoResult"
+              @click="exportStudentResult"
+              >导出作业成绩</a
+            >
           </b-field>
           <b-field>
             <a

+ 2 - 2
vue.config.js

@@ -2,9 +2,9 @@ module.exports = {
   devServer: {
     proxy: {
       "^/api": {
-        // target: "http://localhost:4000/",
+        target: "http://localhost:4000/",
         // target: "http://10.1.1.198:8080/",
-        target: "http://192.168.0.101:8080",
+        // target: "http://192.168.0.101:8080",
         // target: "http://10.1.2.3:8080/",
 
         ws: true,