上一页 1 2 3 4 5 6 ··· 42 下一页
摘要: 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 土豆哥 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 一.下载: 直接从官网上下载 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 土豆哥 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 需求: 如果几个分支代码是不同的,紧紧只是合并某次的提交。类似修复bug,几个分支都有同样的bug,在一个分支上修复了,不需要每个分支上去修复,而是通过合并的方式去处理,但是合并功能又会把所有的提交合并过去,这是不合理的。于是可以通过tortoiseGit cherry-pick功能来实现。 步骤: 阅读全文
posted @ 2022-03-11 17:52 土豆哥 阅读(2660) 评论(0) 推荐(2) 编辑
摘要: 需求; 为了使用百度地图的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 土豆哥 阅读(2801) 评论(0) 推荐(1) 编辑
摘要: 父组件给子组件传值: :visible="dialogVisible" //普通用法 :visible.sync="dialogVisible"//同步用法 子组件props接收: props: { visible: { type: Boolean, default: false }, } 核心: 阅读全文
posted @ 2022-01-26 10:14 土豆哥 阅读(2441) 评论(0) 推荐(0) 编辑
摘要: avue的demo: https://gitee.com/smallweigit/avue-plugin-map 配置高德: <script type="text/javascript"> window._AMapSecurityConfig = { securityJsCode:'您申请的安全密钥 阅读全文
posted @ 2022-01-06 17:48 土豆哥 阅读(608) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-01-04 23:33 土豆哥 阅读(234) 评论(0) 推荐(0) 编辑
摘要: var main = null; var receiver = null; //接收广播 export function recive(success, fail) { main = plus.android.runtimeMainActivity(); //获取activity //创建自定义广播 阅读全文
posted @ 2021-12-22 11:00 土豆哥 阅读(2526) 评论(0) 推荐(0) 编辑
摘要: 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 土豆哥 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 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 土豆哥 阅读(211) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 42 下一页