mirror of
https://gitee.com/ThingsGateway/ThingsGateway.git
synced 2025-10-28 14:13:59 +08:00
fix: hybrid运行切换语言错误
This commit is contained in:
@@ -73,7 +73,7 @@ public partial class CultureChooser
|
||||
{
|
||||
if (_firstRender)
|
||||
{
|
||||
if (OperatingSystem.IsBrowser() || !Runtime.IsWeb)
|
||||
if (OperatingSystem.IsBrowser() || !Runtime.IsWeb || App.EffectiveTypes.FirstOrDefault(a => a.Name.Contains("WebView")) != null)
|
||||
{
|
||||
var cultureName = item.Value;
|
||||
if (cultureName != CultureInfo.CurrentCulture.Name)
|
||||
|
||||
@@ -74,6 +74,4 @@ public class MqttCollectProperty : CollectPropertyBase
|
||||
[DynamicProperty]
|
||||
public int ConnectTimeout { get; set; } = 3000;
|
||||
|
||||
public override int ReIntervalTime { get; set; } = 30;
|
||||
public override int RetryCount { get; set; } = 3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user