riku
2025-04-21 30748ea70f14c675743c7ea54e5c162d4a5e2839
src/api/grid/gridInfoApi.js
@@ -7,7 +7,7 @@
   */
  fetchGridList(schemeId) {
    return $clue.get(`grid/info/fetch?id=${schemeId}`).then((res) => {
      return getGridRecordList(res);
      return getGridRecordList(res.data);
    });
  },
@@ -17,15 +17,17 @@
   */
  createGrid(gridInfo) {
    return $clue.post(`grid/info/create`, gridInfo).then((res) => {
      return getGridRecord(res);
      return getGridRecord(res.data);
    });
  },
  /**
   * 更新网格
   * @param {Object} gridInfo
   * @param {Object} gridInfo
   */
  updateGrid(gridInfo) {
    return $clue.post(`grid/info/update`, gridInfo)
    return $clue
      .post(`grid/info/update`, gridInfo)
      .then((res) => res.data);
  }
};