logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

-bash: git: 未找到命令 --服务器git clone

当服务器git clone远程仓库的时候出现-bash: git: 未找到命令需要安装yum install -y git再执行git clone

fatal: unable to access ‘https://github.com/xxx/123.git/‘: Failed connect to github.com:443 解决方案

在linux上git clone时遇到fatal: unable to access 'https://github.com/xx/xx.git/': Failed connect to github.com:443; Connection timed out时如图解决方法:把https:改成git如果没有成功,遇上以下报错配置用户名,邮箱给该邮箱设置公钥回车三次后 得到如图 设置成功后进入~/.

#linux
uni-app自定义底部tabbar

1.新建custom-tab-bar目录 ,并分别创建 (js,json,wxml,wxss)main.js中添加,解决点击两次才能选择icon。在当前页下,onShow中添加。

文章图片
#uni-app#css#javascript
uni-app h5 单页面自定义头部

1.打开 pages.json 将原生的导航设置为false{"path": "pages/repair/repair","style": {"navigationBarTitleText": "","enablePullDownRefresh": false,"navigationStyle": "custom"},"app-plus": {//#ifdef H5"titleNView": fa

#前端
vue-router有哪几种导航钩子

第一种全局导航钩子const router = new VueRouter({ ... });router.beforeEach((to, from, next) => {// do someting});这三个参数 to 、from 、next 分别的作用:1.to: Route,代表要进入的目标,它是一个路由对象2.from: Route,代表当前正要离开的路由,同样也是一个路由对象3.

vue 前端打印pdf

方法一:jspdf+html2canvas1.首先安装jspdf,html2canvas2.在utils下新建htmlToPdf.jsimport html2canvas from 'html2canvas';import JsPDF from 'jspdf';/*** @paramele要生成 pdf 的DOM元素(容器)* @parampadfNamePDF文件生成后的文件名字* */func

#前端#vue.js#javascript
暂无文章信息