Fork me on GitHub
摘要: // indexedDB.js,浏览器本地数据库操作 export default { // indexedDB兼容 indexedDB: window.indexedDB || window.webkitindexedDB || window.msIndexedDB || mozIndexedDB, // 打开数据库 // 新对象储存空间newStore参数:... 阅读全文
posted @ 2018-12-10 11:50 欢欢11 阅读(8244) 评论(0) 推荐(0) 编辑
摘要: computed: { newdataList: function() { return this.sortKey(this.dataList, "addtime"); } }, methods: { sortKey(array, key) { return array.sort(function( 阅读全文
posted @ 2018-12-10 11:49 欢欢11 阅读(5513) 评论(0) 推荐(0) 编辑
摘要: this.$router.go(0); 页面刷新 location.reload(); 阅读全文
posted @ 2018-12-10 11:47 欢欢11 阅读(2075) 评论(0) 推荐(0) 编辑
摘要: toExport() { if (this.dataList == false) { this.$createDialog({ type: "alert", content: "数据為空", confirmBtn: "確定", icon: "cubeic-alert" ... 阅读全文
posted @ 2018-12-10 11:44 欢欢11 阅读(868) 评论(0) 推荐(0) 编辑
摘要: 固定头部100px; 中间自适应部分 中间自适应部分 中间自适应部分 中间自适应部分 中间自适应部分 ... 阅读全文
posted @ 2018-12-10 11:41 欢欢11 阅读(2546) 评论(0) 推荐(0) 编辑
摘要: 注意:安装目录不要以中文命名 1.安装cordova :npm install -g cordova 2.安装java jdk :配置环境变量: 1.系统变量:名:JAVA_HOME 值:C:\Program Files\Java\jdk1.8.0_31 2.在Path中添加:%JAVA_HOME% 阅读全文
posted @ 2018-12-10 11:40 欢欢11 阅读(496) 评论(0) 推荐(0) 编辑