"use strict";

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

var _toast = _interopRequireDefault(require("antd-mobile/es/components/toast"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var _default = function _default() {
  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
      title = _ref.title;

  _toast.default.show({
    icon: 'loading',
    content: title,
    duration: 9999999
  });

  return Promise.resolve();
};

exports.default = _default;