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
baichixing
Neos
Commits
766e285b
Commit
766e285b
authored
Sep 12, 2023
by
Chunchi Che
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/side' into 'main'
修复换Side额外卡组暂时错误和优化一些回放的小问题 See merge request
!313
parents
150a052d
5e2b4825
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
src/service/onSocketMessage.ts
src/service/onSocketMessage.ts
+1
-2
src/ui/Side/index.tsx
src/ui/Side/index.tsx
+4
-1
No files found.
src/service/onSocketMessage.ts
View file @
766e285b
...
...
@@ -91,12 +91,11 @@ async function _handle(e: MessageEvent) {
break
;
}
case
"
stoc_game_msg
"
:
{
await
handleGameMsg
(
pb
);
if
(
!
replayStore
.
isReplay
)
{
// 如果不是回放模式,则记录回放数据
replayStore
.
record
(
packet
);
}
await
handleGameMsg
(
pb
);
break
;
}
...
...
src/ui/Side/index.tsx
View file @
766e285b
...
...
@@ -58,7 +58,10 @@ export const Component: React.FC = () => {
setDeck
(
JSON
.
parse
(
JSON
.
stringify
(
sideDeck
)));
message
.
info
(
"
重置成功
"
);
};
const
onSummit
=
()
=>
sendUpdateDeck
(
deck
);
const
onSummit
=
()
=>
{
sendUpdateDeck
(
deck
);
window
.
myExtraDeckCodes
=
[...
deck
.
extra
];
};
useEffect
(()
=>
{
if
(
stage
===
SideStage
.
SIDE_CHANGED
)
{
...
...
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