Commit 4d0d43fc authored by wildfirecode's avatar wildfirecode

1

parent eb6a6711
import Panel from "./Panel";
import SceneCtrl from "../ctrls/sceneCtrl";
import { ModuleTypes } from "../types/sceneTypes";
import StartScene from "../../../src/startScene/StartScene";
import StartScene, { createData } from "../../../src/startScene/StartScene";
export default class Alert extends Panel {
start(data) {
super.start(data);
......
......@@ -45,6 +45,7 @@ import PropType from '../PropType';
import { PropNumShow } from '../something/uis/PropNumShow';
import SceneCtrl from '../../libs/new_wx/ctrls/sceneCtrl';
import { PropGuide } from '../something/uis/PropGuide';
import { createData } from '../startScene/StartScene';
const aniClass = {
"BoomAni": BoomAni,
......@@ -2090,7 +2091,7 @@ export default class MainScene extends Scene {
var txt = codeMsgs[data.code] || "活动太火爆了\n请稍后再来";
showToast(txt);
setTimeout(() => {
SceneCtrl.instance.change(ModuleTypes.MAP_SCENE);
SceneCtrl.instance.change(ModuleTypes.MAP_SCENE,createData());
}, 1300)
}
}
......
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