"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _ali = require("remax/ali");

var _default = function _default(key, data) {
  return (0, _ali.setStorageSync)({
    /**
     * 缓存数据的key
     */
    key: key,

    /**
     * 要缓存的数据
     */
    data: data
  });
};

exports.default = _default;