摘要: 感谢reflog救大命!!! 前提:代码已经提交到本地仓库,但尚未提交到远程 查看git的提交历史 git reflog 我提交到本地仓库的版本好是793d7b68 然后强制回退版本 git reset --hard 793d7b68 本地仓库成功回退,然后直接提交代码到远程仓库即可 阅读全文
posted @ 2025-02-07 10:22 格林格林 阅读(97) 评论(0) 推荐(0)
摘要: A页面跳转B页面 A页面 function toDetail(value) { console.log('click'); let chuansVal = encodeURIComponent(JSON.stringify(value)); console.log(chuansVal); uni.n 阅读全文
posted @ 2025-02-06 16:25 格林格林 阅读(472) 评论(0) 推荐(0)
摘要: A页面跳转到B页面,传参过去 A页面method //点击进入明细 toDetail() { console.log('click') let val = encodeURIComponent(JSON.stringify(this.detailData[0])) uni.navigateTo({ 阅读全文
posted @ 2025-01-22 10:39 格林格林 阅读(47) 评论(0) 推荐(0)
摘要: 全局配置 全局配置(用Git Bash) git config --global user.name "账号" git config --global user.email "邮箱" 查看配置 git config -l SSH密钥 新建密钥(用Git Bash) ssh-keygen -t rsa 阅读全文
posted @ 2023-12-05 13:08 格林格林 阅读(13) 评论(0) 推荐(0)
摘要: 【打开】--【最近】--【XX的OneDrive】 进入【文档】 删它!! from : 一个被OneNote搞到发疯的人 阅读全文
posted @ 2023-02-06 15:00 格林格林 阅读(38) 评论(0) 推荐(0)
摘要: array为多个数组对象 array=[{},{},{}],[{},{},{}],[{},{},{}] arrayObject为合并后的数组对象 arrayObject=[{},{},{},{},{},{},{}] let arrayObject=[] array.map(function (val 阅读全文
posted @ 2022-08-18 16:56 格林格林 阅读(924) 评论(0) 推荐(0)
摘要: <!--单选框--> @change="e => radioGroupChange(e,index)" @change="e => radioChange(e, index)" 阅读全文
posted @ 2022-04-01 11:22 格林格林 阅读(164) 评论(0) 推荐(0)
摘要: //获取时间 xxxx => xx:xx getTime(str) { return str.substring(0, 2) + ':' + str.substring(2, 4); }, //获取星期 xxxx-xx-xx => 星期X getDate(date) { //返回xx:xx cons 阅读全文
posted @ 2022-03-25 13:26 格林格林 阅读(103) 评论(0) 推荐(0)
摘要: 解决办法:恢复小箭头即可。 新建文件,输入以下代码,把文件格式改为.bat,双击运行 taskkill /f /im explorer.exe reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer 阅读全文
posted @ 2022-03-17 20:34 格林格林 阅读(3264) 评论(5) 推荐(1)
摘要: 上传图片组件 UploadImg.vue //UploadImg.vue <template> <!-- 上传附件--> <view class="comment-image-style"> <view class="img" v-if="imgArr.length 0 "> <u-image wi 阅读全文
posted @ 2022-01-18 09:53 格林格林 阅读(256) 评论(0) 推荐(0)