Commit 3565c40d authored by chechunchi's avatar chechunchi

update small

parent e2a917bf
Pipeline #21550 passed with stages
in 17 minutes and 6 seconds
......@@ -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}
......
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