Procházet zdrojové kódy

fix: 回评以及无任务的提示

zhangjie před 11 měsíci
rodič
revize
1fb076f39b
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 0 1
      src/features/mark/MarkHistory.vue
  2. 2 1
      src/styles/page.less

+ 0 - 1
src/features/mark/MarkHistory.vue

@@ -193,7 +193,6 @@ EventBus.on("should-reload-history", () => {
       });
       });
       if (res?.data) {
       if (res?.data) {
         const data = res.data.records;
         const data = res.data.records;
-        total = res.data.total;
         if (store.currentTask) {
         if (store.currentTask) {
           // 这种方式(对象被重新构造了)能查找到index,我也很惊讶
           // 这种方式(对象被重新构造了)能查找到index,我也很惊讶
           const indexOfTasks = store.historyTasks.indexOf(store.currentTask);
           const indexOfTasks = store.historyTasks.indexOf(store.currentTask);

+ 2 - 1
src/styles/page.less

@@ -879,8 +879,9 @@
 
 
     img {
     img {
       display: block;
       display: block;
-      width: 200px;
+      width: 200px !important;
       height: 140px;
       height: 140px;
+      margin: 0 auto;
     }
     }
     p {
     p {
       height: 24px;
       height: 24px;