![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
js
一抹朱丹红
努力学习
展开
-
indexedDB存储的数据类型
新建对象仓库时,设置它自动生成主键:objectStore = myDB_config.db.createObjectStore(storeName, { autoIncrement: true });给该仓库添加数据:transaction = db.transaction([storeName], ‘readwrite’).objectStore(storeName).add(data...原创 2019-04-12 12:09:00 · 830 阅读 · 0 评论 -
解决升级angular-cli之后各种报错问题
升级angular-cli版本后报错:The serve command requires to be run in an Angular project, but a project definition could not be found.compiler_cli_1.readConfiguration is not a function1、升级angular-cli到最新版我的...原创 2019-05-08 18:37:14 · 12093 阅读 · 0 评论