上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 133 下一页
摘要: 做项目时,自己本地内容开发还没完成(还没有提交比本地,没有commit),又接到新的紧急bug修复 可以用git stash 保存自己修改的内容 修复bug提交线上 再用 git stash pop 还原本地开发一半的代码 https://www.cnblogs.com/zublogs/p/1608 阅读全文
posted @ 2022-08-16 16:23 盘思动 阅读(27) 评论(1) 推荐(0)
摘要: 其中for-of是ES6新增的迭代语法 在MDN上的解释: for...in语句以任意顺序遍历一个对象的可枚举属性。对于每个不同的属性,语句都会被执行。 for...of语句在可迭代对象(包括 Array,Map,Set,String,TypedArray,arguments 对象等等)上创建一个迭 阅读全文
posted @ 2022-08-16 08:40 盘思动 阅读(375) 评论(0) 推荐(0)
摘要: 最近接手了一个项目,登录用户信息都放全局变量里面的,用法和之前有所不同 a页面定义 uni.test = 'testval' b页面可以直接获取得到 console.log(uni.test) // 也可以存多个对象 页面一刷新就销毁了,调试非常不方便,而且整体项目中没有统一管理的地方 阅读全文
posted @ 2022-08-13 17:21 盘思动 阅读(43) 评论(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 盘思动 阅读(6627) 评论(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 盘思动 阅读(727) 评论(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 盘思动 阅读(236) 评论(0) 推荐(0)
摘要: 关于新接手项目,或者复制新部署项目,uni-app的应用标识appid是否变更,及其影响 使用场景 云打包 DCloud 根据 appid 来判断用户是否有权限进行云打包。既不是所有者、又不是协作者,就无法打包; 打包后的原生应用根据 appid 来管理本地资源。每个appid有独立的沙盒,存储是隔 阅读全文
posted @ 2022-08-08 15:45 盘思动 阅读(1038) 评论(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 盘思动 阅读(311) 评论(0) 推荐(0)
摘要: 国家精品课程 https://www.icourse163.org/learn/NJU-1001571004?tid=1467703450#/learn/content 阅读全文
posted @ 2022-08-05 13:48 盘思动 阅读(15) 评论(0) 推荐(0)
摘要: 遍历循环的使用 node_modules 不仅仅是当前目录,遍历所有目录都忽略 如果是./node_modules是 本来苦恼,每层都得加上 .gitignore 的 一、在项目根目录下(和.git在同一级目录下),增加.gitignore文件。 #开头 #注释,被git忽略 *.class #忽略 阅读全文
posted @ 2022-08-03 17:56 盘思动 阅读(320) 评论(0) 推荐(1)
上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 133 下一页