08 2022 档案

摘要:打开cmd 输入:ssh-keygen https://blog.csdn.net/weixin_40267501/article/details/113379053 阅读全文
posted @ 2022-08-31 17:50 盘思动 阅读(44) 评论(0) 推荐(0) 编辑
摘要:最近弄安卓开发,uniapp,开发,微信小程序无任何报错, 但安卓端,报错,而且,一个错误会再报很多不相干的错误; 并不会显示代码具体报错的行数。排查费劲!!! [Vue warn]: Error in render: "TypeError: Cannot read property 'length 阅读全文
posted @ 2022-08-29 14:58 盘思动 阅读(1500) 评论(0) 推荐(0) 编辑
摘要:.z-dropdown-menu { background-color: rgba(4, 26, 101, 0.9); border: 1px solid #3e9edd; z-index: 99999; &__item { // & 代表.z-dropdown-menu font-size: 1. 阅读全文
posted @ 2022-08-25 09:20 盘思动 阅读(200) 评论(0) 推荐(0) 编辑
摘要:Array.prototype.phpfind = function(conditionFunc) { console.log('conditionFunc',conditionFunc) for (var i = 0; i < this.length; i++) { //console.log(t 阅读全文
posted @ 2022-08-24 23:16 盘思动 阅读(20) 评论(0) 推荐(0) 编辑
摘要:let arr = [ {name:'test1',age:1}, {name:'test2',age:2}, {name:'test3',age:3} ] let temp = arr.findIndex(function(item){ console.log(item.name) return 阅读全文
posted @ 2022-08-24 22:46 盘思动 阅读(101) 评论(2) 推荐(0) 编辑
摘要:做项目时,自己本地内容开发还没完成(还没有提交比本地,没有commit),又接到新的紧急bug修复 可以用git stash 保存自己修改的内容 修复bug提交线上 再用 git stash pop 还原本地开发一半的代码 https://www.cnblogs.com/zublogs/p/1608 阅读全文
posted @ 2022-08-16 16:23 盘思动 阅读(24) 评论(1) 推荐(0) 编辑
摘要:其中for-of是ES6新增的迭代语法 在MDN上的解释: for...in语句以任意顺序遍历一个对象的可枚举属性。对于每个不同的属性,语句都会被执行。 for...of语句在可迭代对象(包括 Array,Map,Set,String,TypedArray,arguments 对象等等)上创建一个迭 阅读全文
posted @ 2022-08-16 08:40 盘思动 阅读(366) 评论(0) 推荐(0) 编辑
摘要:最近接手了一个项目,登录用户信息都放全局变量里面的,用法和之前有所不同 a页面定义 uni.test = 'testval' b页面可以直接获取得到 console.log(uni.test) // 也可以存多个对象 页面一刷新就销毁了,调试非常不方便,而且整体项目中没有统一管理的地方 阅读全文
posted @ 2022-08-13 17:21 盘思动 阅读(37) 评论(0) 推荐(0) 编辑
摘要:uni-forms 有个属性 :labelWidth="数字" 就ok了 <u-form :model="form" ref="uForm"> <u-form-item label="姓名" :labelWidth='140'> <u-input v-model="name" /> </u-form 阅读全文
posted @ 2022-08-11 19:16 盘思动 阅读(6293) 评论(0) 推荐(0) 编辑
摘要:uni.authorize is not a function 请问这个是为什么 错误提示:“errMsg”: "getLocation:fail [geolocation:7]KEY错误 请到http://lbs.amap.com/api/android-location-sdk/guide/ut 阅读全文
posted @ 2022-08-10 16:20 盘思动 阅读(681) 评论(0) 推荐(0) 编辑
摘要:打包界面 https://www.cnblogs.com/moranjl/p/15743649.html 用安卓调试一些授权配置, https://blog.csdn.net/weixin_43881345/article/details/116708087 有模拟安卓手机的编辑器的 https:/ 阅读全文
posted @ 2022-08-09 15:02 盘思动 阅读(231) 评论(0) 推荐(0) 编辑
摘要:关于新接手项目,或者复制新部署项目,uni-app的应用标识appid是否变更,及其影响 使用场景 云打包 DCloud 根据 appid 来判断用户是否有权限进行云打包。既不是所有者、又不是协作者,就无法打包; 打包后的原生应用根据 appid 来管理本地资源。每个appid有独立的沙盒,存储是隔 阅读全文
posted @ 2022-08-08 15:45 盘思动 阅读(840) 评论(0) 推荐(0) 编辑
摘要:Why 0.1 + 0.2 = 0.30000000000000004 1.0 - 0.9 = 0.09999999999999998 0.105.toFixed(2) = 0.1 // not 0.11 注意传参传null。会报错 最好数值类型的参数 https://npmmirror.com/p 阅读全文
posted @ 2022-08-08 10:25 盘思动 阅读(287) 评论(0) 推荐(0) 编辑
摘要:国家精品课程 https://www.icourse163.org/learn/NJU-1001571004?tid=1467703450#/learn/content 阅读全文
posted @ 2022-08-05 13:48 盘思动 阅读(9) 评论(0) 推荐(0) 编辑
摘要:遍历循环的使用 node_modules 不仅仅是当前目录,遍历所有目录都忽略 如果是./node_modules是 本来苦恼,每层都得加上 .gitignore 的 一、在项目根目录下(和.git在同一级目录下),增加.gitignore文件。 #开头 #注释,被git忽略 *.class #忽略 阅读全文
posted @ 2022-08-03 17:56 盘思动 阅读(313) 评论(0) 推荐(1) 编辑
摘要:var brr = ['apple','apple', 'strawberry', 'banana', 'pear', 'apple', 'orange', 'orange', 'strawberry']; var crr = brr.filter((element,index,self) => { 阅读全文
posted @ 2022-08-03 14:49 盘思动 阅读(393) 评论(0) 推荐(0) 编辑
摘要:如果没出现结果,返回-1 let str = '2300dsklkladsklsdkl' console.log(str.indexOf('s'))//5 console.log(str.indexOf('s2'))//-1 https://www.cnblogs.com/djd66/p/15687 阅读全文
posted @ 2022-08-03 14:35 盘思动 阅读(66) 评论(0) 推荐(0) 编辑
摘要:dralog.js import Vue from 'vue' // v-dialogDrag: 弹窗拖拽 Vue.directive('dialogDrag', { bind(el, binding, vnode, oldVnode) { const dialogHeaderEl = el.que 阅读全文
posted @ 2022-08-02 14:02 盘思动 阅读(40) 评论(1) 推荐(0) 编辑

点击右上角即可分享
微信分享提示