Commit 4043dbc1 authored by wjf's avatar wjf

l

parent 328e5514
......@@ -25,7 +25,13 @@ export enum PropType {
* @param id
* @param isFinal 是否最终提交,默认是的
*/
export function submit(callback: (s: boolean, res?: any) => void, score: number, grade: number, isFinal: boolean = true) {
export function submit(
callback: (s: boolean, res?: any) => void,
score: number,
grade: number,
isFinal: boolean = true,
hideMsg: boolean = false
) {
sendTbNet(
TbNetName.submit,
{
......@@ -37,7 +43,8 @@ export function submit(callback: (s: boolean, res?: any) => void, score: number,
},
(s, res) => {
callback(s, res)
}
},
hideMsg
)
}
......
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