Closed Abbyyan closed 4 years ago
Sorry to bother you. I've tried to debug this project , but when i use Map in the .ts , it cannot work. That means , i can let m1 = new Map(); is right , but after set m1.set("t1","test1") , m1 is still null. How can i use Map in this project?
.ts
let m1 = new Map();
m1.set("t1","test1")
m1
Sorry to bother you. I've tried to debug this project , but when i use Map in the
.ts
, it cannot work. That means , i canlet m1 = new Map();
is right , but after setm1.set("t1","test1")
,m1
is still null. How can i use Map in this project?