通过ES6 Map 构造函数,你可以使用 observable(new Map()) 或使用装饰器 ... delete(key) - 把给定键和它的值从映射中删除。 get(key) - 返回给定键的值(或 undefined ) ...
確定! 回上一頁