Commit 9b6578d0 authored by haiyoucuv's avatar haiyoucuv

init

parent 7fc2f910
...@@ -4,6 +4,8 @@ import styles from './RecordPage.module.less'; ...@@ -4,6 +4,8 @@ import styles from './RecordPage.module.less';
import { Button } from "@grace/ui"; import { Button } from "@grace/ui";
import API from "@/api"; import API from "@/api";
import { dateFormatter } from "@/utils/utils.ts"; import { dateFormatter } from "@/utils/utils.ts";
import { PageCtrl } from "@/core/ctrls/PageCtrl.tsx";
import HomePage from "@/pages/HomePage/HomePage.tsx";
@observer @observer
class RecordPage extends React.Component<any, any> { class RecordPage extends React.Component<any, any> {
...@@ -38,7 +40,7 @@ class RecordPage extends React.Component<any, any> { ...@@ -38,7 +40,7 @@ class RecordPage extends React.Component<any, any> {
} }
clickBack = () => { clickBack = () => {
PageCtrl.changePage(HomePage);
} }
render() { render() {
......
...@@ -26,8 +26,6 @@ class TurnTable extends React.Component { ...@@ -26,8 +26,6 @@ class TurnTable extends React.Component {
this.btnStarting = false; this.btnStarting = false;
resStore.updateInfo(); resStore.updateInfo();
console.log(this.drawResultInfo)
if (this.drawResultInfo.prizeId == "thanks") { if (this.drawResultInfo.prizeId == "thanks") {
ModalCtrl.showModal(NoPrizePanel, this.drawResultInfo); ModalCtrl.showModal(NoPrizePanel, this.drawResultInfo);
} else { } else {
......
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