1234567891011121314151617181920212223242526272829303132 |
- var t = require;
- var e = module;
- var i = exports;
- Object.defineProperty(i, "__esModule", {value: !0});
- const s = t("App");
- i.default = class {
- constructor(t) {
- (this._model = null), (this._controller = t);
- }
- setModel(t) {
- this._model = t;
- }
- get isInit() {
- return this._isInit;
- }
- applyFunc(t) {
- return this._controller.applyFunc.apply(this._controller, arguments);
- }
- applyControllerFunc(t, e) {
- return this._controller.applyControllerFunc.apply(this._controller, arguments);
- }
- receiveServerMsg(t, e, i) {}
- removeServerMsg(t, e, i) {
- s.default.NotificationCenter.removeListener(t, e, i);
- }
- isError(t, e) {
- return 1 != t.resultConst;
- }
- dispatch(t, ...e) {
- s.default.NotificationCenter.dispatch(t, ...e);
- }
- };
|