Browse Source

REPORT-53710 设计器处于未登录状态,切换至远程设计变为登录状态

feature/10.0
Lanlan 3 years ago
parent
commit
aedb5a6938
  1. 2
      designer-base/src/main/resources/com/fr/design/login/login.js
  2. 4
      designer-realize/src/main/java/com/fr/start/module/DesignerActivator.java

2
designer-base/src/main/resources/com/fr/design/login/login.js

File diff suppressed because one or more lines are too long

4
designer-realize/src/main/java/com/fr/start/module/DesignerActivator.java

@ -118,6 +118,7 @@ import com.fr.stable.xml.ObjectTokenizer;
import com.fr.stable.xml.ObjectXMLWriterFinder;
import com.fr.start.BBSGuestPaneProvider;
import com.fr.task.Once;
import com.fr.workspace.WorkContext;
import com.fr.xml.ReportXMLUtils;
import java.util.ArrayList;
@ -425,6 +426,9 @@ public class DesignerActivator extends Activator implements Prepare {
}
private void migrateBBSInfoFromFineDB() {
if (!WorkContext.getCurrent().isLocal()) {
return;
}
DesignerEnvManager manager = DesignerEnvManager.getEnvManager();
if (manager.isCurrentVersionFirstLaunch()) {
int newUid = manager.getDesignerLoginUid();

Loading…
Cancel
Save