Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
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
love_飞影
Neos
Commits
792bd1f9
Commit
792bd1f9
authored
Dec 20, 2022
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Mora.tsx
parent
b954adaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
src/ui/Mora.tsx
src/ui/Mora.tsx
+11
-10
No files found.
src/ui/Mora.tsx
View file @
792bd1f9
...
...
@@ -18,6 +18,7 @@ import { selectDuelHsStart } from "../reducers/duel/mod";
import
{
store
}
from
"
../store
"
;
import
{
useEffect
}
from
"
react
"
;
import
{
useNavigate
}
from
"
react-router-dom
"
;
import
{
Button
}
from
"
antd
"
;
// TODO: 应该展示聊天信息
export
default
function
Mora
()
{
...
...
@@ -61,23 +62,23 @@ export default function Mora() {
return
(
<
div
className=
"container"
>
<
div
className=
"item"
>
<
b
utton
disabled=
{
!
selectHandAble
}
onClick=
{
handleSelectScissors
}
>
<
B
utton
disabled=
{
!
selectHandAble
}
onClick=
{
handleSelectScissors
}
>
scissors
</
b
utton
>
<
b
utton
disabled=
{
!
selectHandAble
}
onClick=
{
handleSelectRock
}
>
</
B
utton
>
<
B
utton
disabled=
{
!
selectHandAble
}
onClick=
{
handleSelectRock
}
>
rock
</
b
utton
>
<
b
utton
disabled=
{
!
selectHandAble
}
onClick=
{
handleSelectPaper
}
>
</
B
utton
>
<
B
utton
disabled=
{
!
selectHandAble
}
onClick=
{
handleSelectPaper
}
>
paper
</
b
utton
>
</
B
utton
>
</
div
>
<
div
className=
"item"
>
<
b
utton
disabled=
{
!
selectTpAble
}
onClick=
{
handleSelectFirst
}
>
<
B
utton
disabled=
{
!
selectTpAble
}
onClick=
{
handleSelectFirst
}
>
first
</
b
utton
>
<
b
utton
disabled=
{
!
selectTpAble
}
onClick=
{
handleSelectSecond
}
>
</
B
utton
>
<
B
utton
disabled=
{
!
selectTpAble
}
onClick=
{
handleSelectSecond
}
>
second
</
b
utton
>
</
B
utton
>
</
div
>
<
div
className=
"item"
>
<
p
>
...
...
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