随笔分类 - 开发
摘要:管理员身份打开powershell,运行 Set-ExecutionPolicy -ExecutionPolicy RemoteSigned 将其他窗口重启,某些工具需要重新打开,如idea
阅读全文
摘要:先使用git pull 拉取A仓库代码,如main分支 进入A仓库代码文件夹,使用git remote add xxx-origin B仓库地址 添加B仓库地址信息(B仓库是dev分支) 将A仓库main分支推送到B仓库的dev分支 git push -f xxx-origin main:dev 推
阅读全文
摘要:打包出现 [commonjs--resolver] Missing "./lib/zip-no-worker.js" specifier in "@zip.js/zip.js" package 错误 查看是谁引用的 npm why @zip.js/zip.js 查看cesium版本,为1.120.0
阅读全文
摘要:1. 错误信息 error in ./src/views/forest/forestGateway.vue?vue&type=script&lang=js Module parse failed: Unexpected token (203:39) File was processed with t
阅读全文
摘要:git config --global credential.helper store 只需要输入一次就可以了
阅读全文
摘要:起因 项目 pom 文件内有 <dependency> <groupId>org.geotools</groupId> <artifactId>gt-geojson</artifactId> <version>28.2</version> </dependency> 这样一段配置,gt-geojso
阅读全文
摘要:启动后端 下载后端源码,配置jdk,目前一般为21或以上 配置application启动参数 ,dev,win 启动前端 进入ui目录, 安装依赖 pnpm install 打包 pnpm build:packages 启动 pnpm dev 调试 输入 localhost:8090 查看前端页面
阅读全文
摘要:
阅读全文
摘要:查看现有远程仓库 git remote -v 新增远程仓库 git remote add sd-repo 仓库地址 推送代码至远程仓库 git push sd-repo dev
阅读全文
摘要:场景如下,一个多方合作开发的vue项目,对方表示会将打包后的dist一并提交 生产环境打包使用对方的dist目录 但本地又需要打包测试,所以本地打包后的dist修改后不需要提交,但又需要可以拉取对方的更新 就是告诉git忽略本地工作的更改 1.使用如下命令获得本地所有已更改的文件名 比如 my-we
阅读全文
摘要:$(".article-content-wrap").unbind("copy").bind("copy", (function(e) { e.preventDefault() e.stopPropagation() event.clipboardData.setData("text/plain",
阅读全文
摘要:profiles标签添加 <profile> <id>test</id> <repositories> <repository> <id>private-nexus</id> <url>http://192.168.10.2:8081/repository/maven-public/</url> <
阅读全文
摘要:使用的若依版本为3.8.7 本地父工程使用的springboot版本为2.3.4 注册中心使用了nacos2.0.2 1.将ruoyi工程复制到父工程文件夹下 2.修改若依根pom的springboot版本为2.3.4 <!-- SpringBoot的依赖配置--> <dependency> <gr
阅读全文
摘要:有两种方式 1.基本导出 export const name="zhangsan" export function sum(a,b){ return a+b; } 对应的基本导入 import { name,sum } from './test.js' 直接使用变量名或者函数 或者别名 import
阅读全文
摘要:1.新建local配置文件,加载本地插件工程目录 halo: plugin: runtime-mode: development fixed-plugin-path: # 配置为插件绝对路径 #- D:\myproject\hellodev\plugin-ylpro - D:\myproject\h
阅读全文
摘要:const payPrice= (row.payPrice.toString().split(".")[1] || "").length; const cash= (row.cash.toString().split(".")[1] || "").length; const baseNum = Ma
阅读全文
摘要:var precision = 10000; var p1= Math.round(a.payPrice * precision); var p2= Math.round(b.payPrice * precision); return p2- p1;
阅读全文
摘要:时间格式为 yyyy-MM-dd HH:mm:ss return Date.parse(a.createTime) - Date.parse(b.createTime);
阅读全文
摘要:LambdaQueryWrapper使用in查询,根据某个字段排序 lambdaQueryWrapper.in(StoreOrderInfo::getOrderId, orderList); lambdaQueryWrapper.orderByDesc(StoreOrderInfo::getId);
阅读全文
摘要:数据库中取出的时间为 yyyy-MM-dd HH:mm:ss 格式,根据这个时间排序 倒序 这是根据List中对象的某个字段排序 detailResponseList.sort((o1,o2)->{ LocalDateTime l1 = LocalDateTime.ofInstant(o1.getC
阅读全文

浙公网安备 33010602011771号