浏览代码

fix: 接口参数

lxf 2 周之前
父节点
当前提交
193b2b2f36
共有 1 个文件被更改,包括 2 次插入 和 2 次删除
  1. 2 2
      src/views/old_mini/agri_file/pages/diagnosisReport.vue

+ 2 - 2
src/views/old_mini/agri_file/pages/diagnosisReport.vue

@@ -450,7 +450,7 @@ async function pollLatlonReport({ pointText, crop }) {
     try {
         const raw = await VE_API.report.report6Latlon({
             point_text: pointText,
-            crop,
+            crop: '水稻',
         });
         const res = Array.isArray(raw) ? raw[0] : raw;
         const report = pickLatlonReport(res);
@@ -474,7 +474,7 @@ async function fetchLatlonReport() {
     try {
         const raw = await VE_API.report.report6Latlon({
             point_text: pointText,
-            crop,
+            crop: '水稻',
         });
         const res = Array.isArray(raw) ? raw[0] : raw;
         const report = pickLatlonReport(res);