上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: $ git checkout -b feature origin/feature参考:https://www.jianshu.com/p/0fe715a7fbb3 阅读全文
posted @ 2021-10-19 16:43 四叶草2010 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 注册全局组件: directives.js function permissionBtns(el, binding) { let data = binding.value.data, prop = binding.value.prop, val = binding.value.val; if (da 阅读全文
posted @ 2021-09-02 11:22 四叶草2010 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 1.父组件共享数据给子组件: provide与inject是成对出现 父组件:共享 provide() { return { formData: this.formData } }, 子组件:接收 inject: ['formData'], 阅读全文
posted @ 2021-08-17 17:19 四叶草2010 阅读(19) 评论(0) 推荐(0) 编辑
摘要: // #ifdef MP-WEIXIN let custom = wx.getMenuButtonBoundingClientRect(); console.log("custom", custom); // #endif 阅读全文
posted @ 2021-04-17 18:39 四叶草2010 阅读(165) 评论(0) 推荐(0) 编辑
摘要: git rm -r --cached . #新增的忽略文件没有生效,是因为git是有缓存的,而之前的文件在缓存中,并不会清除掉,还会继续提交,所以更新.gitignore文件,要清除缓存文件 git add . git commit -m 'update .gitignore' git push o 阅读全文
posted @ 2021-04-07 21:24 四叶草2010 阅读(142) 评论(0) 推荐(0) 编辑
摘要: let str = "abccbaaaddccbbcc"; let str1 = 'a',str2 = 'b; // let reg = new RegExp(/(a|b)/,'g'); let reg = new RegExp(`(${str1}|${str2})`,'g'); let repSt 阅读全文
posted @ 2021-01-04 23:01 四叶草2010 阅读(227) 评论(0) 推荐(0) 编辑
摘要: choseImg() { let that = this; that.isCrossImg = true; uni.chooseImage({ count: that.count, sizeType: ['compressed', 'original'], sourceType: that.sour 阅读全文
posted @ 2020-12-01 15:39 四叶草2010 阅读(3214) 评论(0) 推荐(0) 编辑
摘要: wxml: 效果: 阅读全文
posted @ 2019-10-29 11:30 四叶草2010 阅读(899) 评论(0) 推荐(0) 编辑
摘要: <!--div转成图片并下载--> <script src="./js/html2canvas.min.js"></script> <script> // edited from https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob#Polyfill var dataURIToBlob = functio 阅读全文
posted @ 2019-10-09 15:20 四叶草2010 阅读(2378) 评论(0) 推荐(0) 编辑
摘要: 转:https://blog.csdn.net/u012145252/article/details/80628451 环境系统:win7git版本: 2.16.2.windows.1 问题1、本地初始化了git仓库,放了一些文件进去并进行了add操作和commit提交操作; $git add -A 阅读全文
posted @ 2019-09-16 15:02 四叶草2010 阅读(168) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页