Commit 2b5c25f1 authored by wjf's avatar wjf

l

parent 9905ed2c
......@@ -16899,6 +16899,8 @@ var Panel_1 = __webpack_require__(/*! ../../module/views/Panel */ "./module/view
var RES_1 = __webpack_require__(/*! ../../module/RES */ "./module/RES.ts");
var TaoBaoNet_1 = __webpack_require__(/*! ../TaoBaoNet */ "./src/TaoBaoNet.ts");
var ctrls_1 = __webpack_require__(/*! ../../module/ctrls */ "./module/ctrls/index.ts");
var Main_1 = __webpack_require__(/*! ../Main */ "./src/Main.ts");
var G_EVENT_1 = __webpack_require__(/*! ../common/G_EVENT */ "./src/common/G_EVENT.ts");
var JoinPanel = (function (_super) {
__extends(JoinPanel, _super);
function JoinPanel() {
......@@ -16922,6 +16924,9 @@ var JoinPanel = (function (_super) {
_this.enableMouseEvt(false);
ctrls_1.wait(function () { _this.enableMouseEvt(true); }, 2000);
TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.navigateToOutside, { url: _this.data.url });
Main_1.GDispatcher.once(G_EVENT_1.G_EVENT.ON_SHOW, function () {
_this.hidePanel();
}, _this);
}, this)
.position.set(166, 744);
};
This diff is collapsed.
......@@ -2,6 +2,8 @@ import { Panel } from "../../module/views/Panel";
import { RES } from "../../module/RES";
import { sendTbNet, TbNetName } from "../TaoBaoNet";
import { wait } from "../../module/ctrls";
import { GDispatcher } from "../Main";
import { G_EVENT } from "../common/G_EVENT";
export class JoinPanel extends Panel {
get groupNames() {
......@@ -21,6 +23,10 @@ export class JoinPanel extends Panel {
this.enableMouseEvt(false);
wait(() => { this.enableMouseEvt(true) }, 2000)
sendTbNet(TbNetName.navigateToOutside, { url: this.data.url })
//回来时关闭,回来讲道理必执行
GDispatcher.once(G_EVENT.ON_SHOW, () => {
this.hidePanel();
}, this)
}, this)
.position.set(166, 744)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment