会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
逻辑思维-质变
为提高自己的技术而努力呵呵
管理
上一页
1
2
3
4
5
6
···
42
下一页
2022年7月8日
nodejs 连接mysql 封装DBPool
摘要: class DBPool { constructor() { this.mysql = require("mysql"); this.config = require("./db.config"); //1.创建mysql连接对象 this.pool = this.mysql.createPool(
阅读全文
posted @ 2022-07-08 11:54 土豆哥
阅读(270)
评论(0)
推荐(0)
2022年4月7日
centos7搭建自己的gitlab代码库
摘要: 一.下载: 直接从官网上下载 1.直接点击 https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm 2.使用wget wget https://link.zhihu.com
阅读全文
posted @ 2022-04-07 19:29 土豆哥
阅读(119)
评论(0)
推荐(0)
2022年3月11日
tortoiseGit cherry-pick使用
摘要: 需求: 如果几个分支代码是不同的,紧紧只是合并某次的提交。类似修复bug,几个分支都有同样的bug,在一个分支上修复了,不需要每个分支上去修复,而是通过合并的方式去处理,但是合并功能又会把所有的提交合并过去,这是不合理的。于是可以通过tortoiseGit cherry-pick功能来实现。 步骤:
阅读全文
posted @ 2022-03-11 17:52 土豆哥
阅读(3493)
评论(0)
推荐(2)
2022年3月9日
vue使用百度地图vue-bmap-gl
摘要: 需求; 为了使用百度地图的3D控件及旋转地图功能,特此研究了vue-bmap-gl 一.安装: npm install vue-bmap-gl -D 二.main.js全局引入 import VueBMap from 'vue-bmap-gl' import 'vue-bmap-gl/dist/st
阅读全文
posted @ 2022-03-09 17:42 土豆哥
阅读(3142)
评论(0)
推荐(1)
2022年1月26日
vue2 visible.sync 属性用法
摘要: 父组件给子组件传值: :visible="dialogVisible" //普通用法 :visible.sync="dialogVisible"//同步用法 子组件props接收: props: { visible: { type: Boolean, default: false }, } 核心:
阅读全文
posted @ 2022-01-26 10:14 土豆哥
阅读(2740)
评论(0)
推荐(0)
2022年1月6日
avue-plugin-map高德地图
摘要: avue的demo: https://gitee.com/smallweigit/avue-plugin-map 配置高德: <script type="text/javascript"> window._AMapSecurityConfig = { securityJsCode:'您申请的安全密钥
阅读全文
posted @ 2022-01-06 17:48 土豆哥
阅读(661)
评论(0)
推荐(0)
2022年1月4日
tdesign前端ui框架
摘要:
阅读全文
posted @ 2022-01-04 23:33 土豆哥
阅读(260)
评论(0)
推荐(0)
2021年12月22日
uniapp广播接收
摘要: var main = null; var receiver = null; //接收广播 export function recive(success, fail) { main = plus.android.runtimeMainActivity(); //获取activity //创建自定义广播
阅读全文
posted @ 2021-12-22 11:00 土豆哥
阅读(2734)
评论(0)
推荐(0)
2021年12月20日
vue安装sass常见问题整理
摘要: node-sass 依赖sass-loader : 卸载顺序如下: 卸载老版本: npm uninstall node-sass npm uninstall sass-loader 一.node版本12: npm install sass-loader@10.1.0 --save-dev npm i
阅读全文
posted @ 2021-12-20 10:59 土豆哥
阅读(209)
评论(0)
推荐(0)
2021年12月14日
vue 自定义代码片段
摘要: vue代码片段 { "Vue Template":{ "prefix":"vueTemplate", "body":[ "<template>\n\t<div>\n\n\t</div>\n</template>\n\n", "<script lang=\"ts\">\nimport{Componen
阅读全文
posted @ 2021-12-14 22:34 土豆哥
阅读(224)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
42
下一页
公告