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
3565c40d
Commit
3565c40d
authored
May 08, 2023
by
chechunchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update small
parent
e2a917bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/ui/Duel/PlayMat/Menu.tsx
src/ui/Duel/PlayMat/Menu.tsx
+5
-4
No files found.
src/ui/Duel/PlayMat/Menu.tsx
View file @
3565c40d
...
...
@@ -5,6 +5,7 @@ import React, { useState } from "react";
import
{
useSnapshot
}
from
"
valtio
"
;
import
{
fetchStrings
,
sendSelectBattleCmdResponse
,
sendSelectIdleCmdResponse
,
sendSurrender
,
...
...
@@ -61,15 +62,15 @@ export const Menu = () => {
return
(
<
div
id=
"controller"
>
<
button
disabled=
{
!
enableBp
}
onClick=
{
onBp
}
>
战斗阶段
{
fetchStrings
(
"
!system
"
,
80
)
}
</
button
>
<
button
disabled=
{
!
enableM2
}
onClick=
{
onM2
}
>
主要阶段2
{
fetchStrings
(
"
!system
"
,
80
)?.
concat
(
"
2
"
)
}
</
button
>
<
button
disabled=
{
!
enableEp
}
onClick=
{
onEp
}
>
结束回合
{
fetchStrings
(
"
!system
"
,
81
)
}
</
button
>
<
button
onClick=
{
onSurrender
}
>
投降
</
button
>
<
button
onClick=
{
onSurrender
}
>
{
fetchStrings
(
"
!system
"
,
1351
)
}
</
button
>
<
Modal
title=
"是否确认要投降?"
open=
{
modalOpen
}
...
...
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