Преглед изворни кода

临时占地,排序问题

MaiXinRong пре 6 месеци
родитељ
комит
64a9228774
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      app/public/js/se_temp_land.js

+ 3 - 0
app/public/js/se_temp_land.js

@@ -117,6 +117,9 @@ $(document).ready(() => {
             }
             return result;
         }
+        getMaxOrder() {
+            return this.data.length > 0 ? this.data[this.data.length - 1].order : 0;
+        }
     }
     const seTempObj = new SeTemp();
     const refreshSum = function () {