"use strict";

exports.__esModule = true;
exports.session = void 0;
/*
 * @Author: saiyi_lch 982492702@qq.com
 * @Date: 2023-05-23 11:01:21
 * @LastEditors: saiyi_lch 982492702@qq.com
 * @LastEditTime: 2023-07-03 17:19:52
 * @FilePath: /guangyao-app-designer/src/utils/storage.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// import { useNavigate } from "react-router-dom";
// import history from "../router/ history";
var session = {
  setItem: function setItem(key, value) {
    window.sessionStorage.setItem(key, value);
  },
  getItem: function getItem(key) {
    return window.sessionStorage.getItem(key);
  }
};
exports.session = session;