- 博客(5)
- 收藏
- 关注
原创 yum 安装nginx 找不到源
1.sudo yum install epel-release2.sudo yum update3.yum install nginx
2023-06-09 10:12:54
165
原创 uniapp弹出层 canvas 滑动导致与底层一起滑动
微信小程序官方文档有说明,disable-scroll=“true” 可以阻止页面下拉和滚动。这里有个坑,disable-scroll在真机上如果要生效,那么要给canvas绑定一个触摸事件才能生效。必须绑定三个事件真机才能捕获到<canvas class=“mycanvas” disable-scroll=“true” canvas-id=“mycanvas” @touchstart=“touchstart” @touchmove=“touchmove” @touchend=“touchend”
2021-08-22 21:33:20
930
2
原创 git 多分支有序合并到master
去自己的工作分支 $ git checkout workbranch提交工作分支的修改 $ git commit -a回到主分支 $ git checkout master获取远程最新的修改,此时不会产生冲突 $ git pull回到工作分支 $ git checkout workbranch用rebase合并主干的修改,如果有冲突在此时解决 $ git rebase master回到主分支 $ git checkout master合并工作分支的修改,此时不会产生冲突。 $ git mer.
2021-04-16 12:19:03
116
原创 git 的6步基础操作
git 的6步基础操作**git init 初始化本地仓库git remote add origin 码云仓库地址 例如:git remote add origin https://gitee.com/你的码云用户名/你创建的仓库名.gitgit pull origin master 命令 ,这步的作用是:将码云上的仓库pull到本地你新建的文件夹中git add . (. 表示所有的)或者 git add 文件名 (此命令可以将文件保存到缓存区) 注意:不要忘记 敲空格git com
2021-04-07 14:21:28
110
转载 Vue路由跳转去除#使用History mode模式
Vue路由使用History mode模式如何修改mode如何修改modevue-router 默认 hash 模式 —— 使用 URL 的 hash 来模拟一个完整的 URL,于是当 URL 改变时,页面不会重新加载。如果不想要很丑的 hash,我们可以用路由的 history 模式,这种模式充分利用 history.pushState API 来完成 URL 跳转而无须重新加载页面。const router = new VueRouter({mode: ‘history’,routes: [
2021-03-17 14:03:24
683
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人