摘要: 原出处:https://www.cnblogs.com/Fooo/p/16986453.html /** * a */ public final static double a = 6378245.0; /** * ee */ public final static double ee = 0.00 阅读全文
posted @ 2023-12-23 11:50 碎月 阅读(573) 评论(0) 推荐(0) 编辑
摘要: SSH公钥生成了无数遍,也在码云上把公钥配置进去了,还是会提示: git@gitee.com: Permission denied (publickey).fatal: Could not read from remote repository. 解决:网上到处都说没有配置好SSH,然而我都配置好了 阅读全文
posted @ 2023-10-26 10:50 碎月 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 报错信息: An unhandled rejection has occurred inside Forge:Error: Failed to install modules: ["electron-squirrel-startup"] With output: Command failed wit 阅读全文
posted @ 2023-10-20 10:30 碎月 阅读(1838) 评论(0) 推荐(0) 编辑
摘要: 报错信息: An unhandled rejection has occurred inside Forge:Error: Failed with exit code: 1���ڳ��Դӡ�eletest.nuspec�����ɳ������Authors is required.Descripti 阅读全文
posted @ 2023-10-20 10:26 碎月 阅读(813) 评论(0) 推荐(1) 编辑
摘要: HTML: <div class="box"> <div class="content"> <div>内容1</div> <div>内容2</div> </div> </div> CSS: .box { width: 200px; background: blue; position: relati 阅读全文
posted @ 2023-06-01 07:06 碎月 阅读(59) 评论(0) 推荐(0) 编辑
摘要: Vue2插槽使用组件MyComponent.vue: <template> <div> <slot name="name1" :userName="'zhagnsan'"></slot> </div> </template> 复制 使用组件: <my-component> <template slo 阅读全文
posted @ 2023-03-29 15:57 碎月 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 在app的gradle配置文件中的release代码块中放置以下代码 android.applicationVariants.all { variant -> variant.outputs.all { output -> if (outputFileName.endsWith('.apk')) { 阅读全文
posted @ 2023-02-02 17:05 碎月 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 修改this指向涉及到的方法: bind、call、apply bind说明:调用之后不会直接请求目标函数,而是会返回一个修改了this指向的函数,用于后面调用 function fun(old, gender) { console.log(this.name, old, gender)//"张三" 阅读全文
posted @ 2023-01-12 16:21 碎月 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 修改后重启便生效,不用保持软件运行状态 Github开源:https://github.com/randyrants/sharpkeys 写个博客记录一下这款软件的名字哈哈哈 阅读全文
posted @ 2023-01-03 11:52 碎月 阅读(127) 评论(0) 推荐(0) 编辑
摘要: clientHeight 元素像素的可视高度,包含元素的高度+内边距,不包含水平滚动条,边框和外边距 offsetHeight 元素像素的可视高度,包含元素的垂直内边距和边框,水平滚动条的高度,且是一个整数 scrollHeight 元素的总高度,包括溢出的不可见内容 scrollTop 当前元素的 阅读全文
posted @ 2022-12-28 10:50 碎月 阅读(349) 评论(0) 推荐(0) 编辑