xiongzhu пре 2 година
родитељ
комит
98120aa889
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/views/HomePage.vue

+ 1 - 1
src/views/HomePage.vue

@@ -253,7 +253,7 @@ const saleBatches = ref([])
 const batchInfo = ref({})
 const batchId = ref(0)
 function getSaleBatch() {
-    return http.get('sysConfig/get/home_session').then(res => {
+    return http.get('sysConfig/get/home_batch_id').then(res => {
         if (res.value === '0') {
             return http.post('saleBatch/all', {}, { body: 'json' }).then(res => {
                 saleBatches.value = res.content.map(item => {