|
|
@@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core';
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
|
import { FormsModule } from '@angular/forms';
|
|
|
-import { WxworkSDK, WxworkCorp } from 'fmode-ng/social';
|
|
|
+import { WxworkSDK, WxworkCorp } from 'fmode-ng/core';
|
|
|
import { FmodeParse, FmodeObject } from 'fmode-ng/parse';
|
|
|
|
|
|
// WxworkCurrentChat 类型定义
|
|
|
@@ -81,7 +81,7 @@ export class ProjectLoaderComponent implements OnInit {
|
|
|
async ngOnInit() {
|
|
|
// 获取路由参数
|
|
|
this.route.paramMap.subscribe(async params => {
|
|
|
- this.cid = params.get('cid') || '';
|
|
|
+ this.cid = params.get('cid') || localStorage.getItem("company") || '';
|
|
|
this.appId = params.get('appId') || 'crm';
|
|
|
|
|
|
if (!this.cid) {
|