[mod] 微調
This commit is contained in:
		| @@ -43,6 +43,10 @@ const SDGame = (props: ISDGame) => { | ||||
| 		const port: number = 9005; | ||||
|  | ||||
| 		GameManager.SlotData.SlotId = slotid; | ||||
| 		GameManager.SlotData.IsRatioStop = isRatioStop; | ||||
| 		GameManager.SlotData.RatioStop = ratioStop; | ||||
| 		GameManager.SlotData.IsCountStop = isCountStop; | ||||
| 		GameManager.SlotData.CountStop = countStop; | ||||
| 		conn = new NetConnector("https://" + host, port); | ||||
| 		conn.OnDataReceived.AddCallback(onNetDataReceived); | ||||
| 		conn.OnDisconnected.AddCallback(onNetDisconnected); | ||||
|   | ||||
| @@ -23,7 +23,10 @@ const Login = () => { | ||||
| 	const serverType: typeof BusinessEnum.ServerType = BusinessEnum.ServerType; | ||||
| 	const [type, setType] = useState<number>(BusinessEnum.ServerType.Internal_Dev); | ||||
| 	const [isLogin, setIsLogin] = useState<boolean>(false); | ||||
| 	const a = "eyJhbGciOiJIUzI1NiJ9.hoaQl5V6Ni6G3xXJXSADO-aS2fopaAd8lA-K6UkTUbhU46l1B5JU2TxINvsRQPmNE1TzKPc0MD5dyFOEJmo8gpGtRWsMWiyzekENR6QwJluQa2nL83QNZaif8BhEff1vm0F_TOAA2ENDiaY7VnkeLHB-Dv3KyRo5AEAmYVFWK_A.k1rj5BHgPKCVvI7sDjBwb6dGOl4OH3131NIr5vxVrGA"; | ||||
| 	let a = "eyJhbGciOiJIUzI1NiJ9.hoaQl5V6Ni6G3xXJXSADO-aS2fopaAd8lA-K6UkTUbhU46l1B5JU2TxINvsRQPmNE1TzKPc0MD5dyFOEJmo8gpGtRWsMWiyzekENR6QwJluQa2nL83QNZaif8BhEff1vm0F_TOAA2ENDiaY7VnkeLHB-Dv3KyRo5AEAmYVFWK_A.k1rj5BHgPKCVvI7sDjBwb6dGOl4OH3131NIr5vxVrGA"; | ||||
| 	if (import.meta.env.PROD) { | ||||
| 		a = ""; | ||||
| 	} | ||||
| 	const [token, SetToken] = useState(a); | ||||
| 	const options: Option[] = []; | ||||
| 	for (let i = 0, names: string[] = Object.keys(serverType); i < names.length; i++) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user