Kaynağa Gözat

!808 BUG:连续次生成SeedData时,每二次开始界面不刷新表名
Merge pull request !808 from koy0755/BUG_SeedData生成

zuohuaijun 2 yıl önce
ebeveyn
işleme
545ed3e55e

+ 1 - 0
Admin.NET/Admin.NET.Core/SignalR/SignalRSetup.cs

@@ -27,6 +27,7 @@ public static class SignalRSetup
             options.EnableDetailedErrors = true;
             options.ClientTimeoutInterval = TimeSpan.FromMinutes(2);
             options.KeepAliveInterval = TimeSpan.FromMinutes(1);
+            options.MaximumReceiveMessageSize = 1024 * 1024 * 10; //默认每次数据包最大为32K,这里设为 10M 
         }).AddNewtonsoftJsonProtocol(options => SetNewtonsoftJsonSetting(options.PayloadSerializerSettings));
 
         // 若未启用Redis缓存,直接返回

+ 0 - 2
Web/src/views/system/database/component/genSeedData.vue

@@ -69,8 +69,6 @@ const openDialog = (row: any) => {
 	state.ruleForm.configId = row.configId;
 	state.ruleForm.tableName = row.tableName;
 	state.isShowDialog = true;
-
-	ruleFormRef.value?.resetFields();
 };
 
 // 关闭弹窗