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,7 +17,7 @@
   */
  createGrid(gridInfo) {
    return $clue.post(`grid/info/create`, gridInfo).then((res) => {
      return getGridRecord(res);
      return getGridRecord(res.data);
    });
  },
@@ -26,6 +26,8 @@
   * @param {Object} gridInfo 
   */
  updateGrid(gridInfo) {
    return $clue.post(`grid/info/update`, gridInfo)
    return $clue
      .post(`grid/info/update`, gridInfo)
      .then((res) => res.data);
  }
};