chengjie 6 月之前
父節點
當前提交
227e89cf02
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      public/mg/mps_school.html

+ 2 - 2
public/mg/mps_school.html

@@ -458,7 +458,7 @@
458 458
                     <div class="district-list">
459 459
                         <div class="district-item" v-for="district in districts">
460 460
                             <div class="district-name FlexRow" @click="toggleDistrict(district)">
461
-                                <div class="flex-1">{{ district.name }} <template v-if="district.count">({{
461
+                                <div class="flex-1">{{ district.id }} {{ district.name }} <template v-if="district.count">({{
462 462
                                         district.count
463 463
                                         }})</template></div>
464 464
                                 <div class="district-icon">
@@ -841,7 +841,7 @@
841 841
                         const keyword = this.searchText.trim();
842 842
 
843 843
                         // 使用提供的接口搜索学校
844
-                        fetch(`/api/GetMPSSchool?Key=${keyword}`)
844
+                        fetch(`/api/GetMPSSchool?RowCount=100&Key=${keyword}`)
845 845
                             .then(response => response.json())
846 846
                             .then(data => {
847 847
                                 data = data.result;