Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
T
tabulator-another-web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
tabulator-another-web
Commits
4c3de7b0
Commit
4c3de7b0
authored
Jun 21, 2025
by
xiaoye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d39dfc60
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
src/pages/tournament.vue
src/pages/tournament.vue
+1
-1
src/script/mycard.ts
src/script/mycard.ts
+2
-1
No files found.
src/pages/tournament.vue
View file @
4c3de7b0
...
@@ -448,7 +448,7 @@
...
@@ -448,7 +448,7 @@
}
);
}
);
}
,
}
,
operatorChk
:
(
f
:
Function
,
para
:
Array
<
any
>
=
[])
:
void
=>
{
operatorChk
:
(
f
:
Function
,
para
:
Array
<
any
>
=
[])
:
void
=>
{
if
(
Mycard
.
id
>=
0
&&
(
Mycard
.
id
==
tournament
.
this
?.
creator
||
tournament
.
this
?.
collaborators
.
includes
(
parseInt
(
Mycard
.
id
)
)))
if
(
Mycard
.
id
>=
0
&&
(
Mycard
.
id
==
tournament
.
this
?.
creator
||
tournament
.
this
?.
collaborators
.
includes
(
Mycard
.
id
)))
f
(...
para
);
f
(...
para
);
else
else
UniApp
.
error
(
'
请先登陆或联系比赛主办方
'
,
'
缺少权限
'
);
UniApp
.
error
(
'
请先登陆或联系比赛主办方
'
,
'
缺少权限
'
);
...
...
src/script/mycard.ts
View file @
4c3de7b0
...
@@ -29,7 +29,8 @@ class MyCard {
...
@@ -29,7 +29,8 @@ class MyCard {
// @ts-ignore
// @ts-ignore
this
.
user
=
Object
.
fromEntries
(
params
);
this
.
user
=
Object
.
fromEntries
(
params
);
this
.
token
=
this
.
user
.
token
;
this
.
token
=
this
.
user
.
token
;
this
.
id
=
this
.
user
.
id
// @ts-ignore
this
.
id
=
parseInt
(
this
.
user
.
id
)
this
.
username
=
this
.
user
.
username
;
this
.
username
=
this
.
user
.
username
;
this
.
email
=
this
.
user
.
email
;
this
.
email
=
this
.
user
.
email
;
this
.
avatar
=
this
.
user
.
avatar
;
this
.
avatar
=
this
.
user
.
avatar
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment