When doing the npm install, we got error below.
npm ERR! request to https://registry.npmjs.org/bower failed, reason: unable to get local issuer certificate
When doing the npm install, we got error below.
npm ERR! request to https://registry.npmjs.org/bower failed, reason: unable to get local issuer certificate
如果想把 DataReader 的資料丟出function之外,
似乎是個難題.
一般來說都是用 DataTable封存資料後當作物件return出去.
但如果想使用 DataReader 存取呢?
把讀取資料的部分封裝成function.
做法如下.