Explorar el Código

fix: 修复注册功能开关参数失效的bug

喵你个旺呀 hace 1 año
padre
commit
ce6e0c4413
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Web/src/App.vue

+ 1 - 1
Web/src/App.vue

@@ -137,7 +137,7 @@ const loadSysInfo = () => {
 			themeConfig.value.secondVer = data.secondVer == 1;
 			themeConfig.value.captcha = data.captcha == 1;
 			// 注册功能
-			themeConfig.value.registration = data.registration;
+			themeConfig.value.registration = data.enableReg == 1;
 			// 更新配置加载状态
 			themeConfig.value.isLoaded = true;