Commit d39dfc60 authored by xiaoye's avatar xiaoye

fix

parent 75132fa5
Pipeline #37932 passed with stages
in 1 minute and 52 seconds
......@@ -448,7 +448,7 @@
});
},
operatorChk : (f : Function, para : Array<any> = []) : void => {
if (Mycard.id >= 0 && (Mycard.id == tournament.this?.creator || tournament.this?.collaborators.includes(Mycard.id)))
if (Mycard.id >= 0 && (Mycard.id == tournament.this?.creator || tournament.this?.collaborators.includes(parseInt(Mycard.id))))
f(...para);
else
UniApp.error('请先登陆或联系比赛主办方', '缺少权限');
......
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