Commit 82563f63 authored by haiyoucuv's avatar haiyoucuv

感叹号

parent c6d8fdf3
......@@ -44,10 +44,9 @@ class GameStore {
remainTimes: 0,
}
async submit(win: boolean, soc: number) {
async submit(score: number) {
const startId = this.startInfo.userRecordId;
const score = win ? soc : 0;
const params: {
startId: string | number,
......@@ -72,7 +71,7 @@ class GameStore {
store.indexData.remainTimes = data.remainGameTimes;
if (win && data) {
if (data) {
} 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