2 Commits

Author SHA1 Message Date
  董书康 8fae1b9020 Merge branch 'feature-demo' 6 months ago
  董书康 526bfa01bc 添加修改账号 6 months ago
1 changed files with 4 additions and 4 deletions
Split View
  1. +4
    -4
      digital-future-summit/src/app/implementation/layout/layout.component.ts

+ 4
- 4
digital-future-summit/src/app/implementation/layout/layout.component.ts View File

@ -24,7 +24,7 @@ export class LayoutComponent implements OnInit, AfterViewInit {
isDragging: boolean = false;
layoutUsers = ['digiwin0001', 'digiwin0002', 'digiwin0003', 'digiwin0004', 'digiwin0005', 'default', 'digiwinSummit',
layoutUsers = ['digiwin0001', 'digiwin0002', 'digiwin0003', 'digiwin0004', 'digiwin0005', 'default', 'M00020',
'digiwin0006', 'digiwin0007', 'digiwin0008', 'digiwin0009', 'digiwin0010', 'dongsk@digiwin.com'];
divContent = {
@ -63,7 +63,7 @@ export class LayoutComponent implements OnInit, AfterViewInit {
const DwUserInfo = JSON.parse(sessionStorage.getItem("DwUserInfo"));
this.USER_ID = DwUserInfo.userId;
this.dragEnable = this.USER_ID === 'dongsk@digiwin.com';
this.dragEnable = this.USER_ID === 'dongsk@digiwin.com' || this.USER_ID === 'M00020';
console.log(this.dragEnable);
@ -88,7 +88,7 @@ export class LayoutComponent implements OnInit, AfterViewInit {
// 非管理员加载
this.divContent.userId = this.USER_ID;
if (this.USER_ID === 'dongsk@digiwin.com') {
if (this.USER_ID === 'dongsk@digiwin.com' || this.USER_ID === 'M00020') {
this.divContent.userId = "default";
}
@ -142,7 +142,7 @@ export class LayoutComponent implements OnInit, AfterViewInit {
const DwUserInfo = JSON.parse(sessionStorage.getItem("DwUserInfo"));
if (DwUserInfo.userId === 'dongsk@digiwin.com') {
if (DwUserInfo.userId === 'dongsk@digiwin.com' || DwUserInfo.userId === 'M00020') {
return;
}


Loading…
Cancel
Save