summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/shared/utils/utils.ts
diff options
context:
space:
mode:
authorwangyuerg <wangyuerg@chinamobile.com>2021-02-03 18:15:46 +0800
committerwangyuerg <wangyuerg@chinamobile.com>2021-02-03 18:15:59 +0800
commitaf2965a8484ce0893ef1d1ce5ef6085cf76b0d3e (patch)
tree8f4f4cd0d465af67b2a54609029da6ebc3682e17 /usecaseui-portal/src/app/shared/utils/utils.ts
parentfed183f5f6868b523ebdd841378daa16426b1bd7 (diff)
Modify the code for the updated table interface, fix the bug of submitting an and cn
Signed-off-by: wangyuerg <wangyuerg@chinamobile.com> Change-Id: I6ff3c3f36979459ea60a0ee0da1caeea7f3a0465 Issue-ID: USECASEUI-527
Diffstat (limited to 'usecaseui-portal/src/app/shared/utils/utils.ts')
-rw-r--r--usecaseui-portal/src/app/shared/utils/utils.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/shared/utils/utils.ts b/usecaseui-portal/src/app/shared/utils/utils.ts
index 0633778c..a8fdd76f 100644
--- a/usecaseui-portal/src/app/shared/utils/utils.ts
+++ b/usecaseui-portal/src/app/shared/utils/utils.ts
@@ -130,4 +130,8 @@ export class Util {
return iter;
}, {});
}
+
+ intersection(inputs: any[]) : any[]{
+ return inputs.reduce((a, b) => a.filter(c => b.includes(c)))
+ }
} \ No newline at end of file