Commit 439a7ca0 authored by wildfirecode13's avatar wildfirecode13

uu

parent 93c2c9e3
......@@ -2,13 +2,14 @@ import { RES } from "../../module/RES";
import { Panel } from "../../module/views/Panel";
import centerTextField from "../common/centerTextField";
import { createMask } from "../common/createMask";
import { showPanel } from "../../module/ctrls";
import { showPanel, wait } from "../../module/ctrls";
import { getImage } from "../common/getImage";
import getObject from "../common/getObject";
import { CostPanel } from "./cost";
import { getWebData, sendLog, sendWebNet } from "../WebNet";
import { WebNetName } from "../WebNetName";
import { layers } from "../../module/views/layers";
import { waitAPI } from "./wait2";
let section;
export class PrizePanel extends Panel {
......@@ -23,6 +24,15 @@ export class PrizePanel extends Panel {
getObject(this, 'prize_tips').visible=result.data.extra=='object';
waitAPI(200).then(()=>{
sendWebNet(WebNetName.index).then(res => {
layers.stage.dispatchEvent('updateIndexData')
})
})
}
click_prize_open() {
......
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