Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
39 lines
969 B
JavaScript
39 lines
969 B
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports["default"] = void 0;
|
|
|
|
var _args = babelHelpers.interopRequireDefault(require("utils/url/args"));
|
|
|
|
var App = /*#__PURE__*/function (_Component) {
|
|
babelHelpers.inherits(App, _Component);
|
|
|
|
var _super = babelHelpers.createSuper(App);
|
|
|
|
function App() {
|
|
var _this;
|
|
|
|
babelHelpers.classCallCheck(this, App);
|
|
|
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
args[_key] = arguments[_key];
|
|
}
|
|
|
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
babelHelpers.defineProperty(babelHelpers.assertThisInitialized(_this), "exportType", '');
|
|
return _this;
|
|
}
|
|
|
|
babelHelpers.createClass(App, [{
|
|
key: "componentDidMount",
|
|
value: function componentDidMount() {
|
|
this.exportType = _args["default"].get('type', window.location.href);
|
|
}
|
|
}]);
|
|
return App;
|
|
}(Component);
|
|
|
|
exports["default"] = App;
|