- 博客(4)
- 收藏
- 关注
原创 github 本地项目上传到github
本地项目上传到github分为两部曲:一、本地生成ssh 绑定到gitlab 里的个人settings中。a、桌面随便一个目录右击Git Bash Hearb、cd ~/.ssh/ 如果提示.ssh文件不存在【 No such file or directory”】 就新建一个 mkdir ~/.sshc、配置全局的name和email 复制到git命令行:git config --global user.name"" (你的github账号)git config --
2020-08-31 17:40:10
173
转载 slot-scope=“scope” 的应用
slot-scope=“scope” 的应用 <el-table-column label="索引值" width="400"> <template slot-scope="scope"> //--- 这里取到当前单元格 <span>{{ scope.$index }}</span>//--- scope.$index就是索引 </template> </el-table
2020-08-31 16:10:27
256
原创 js的替换
js的replace的替换,替换第一个,全部内容替换,替换全部匹配内容使用jquery的replace时,发现只默认替换到第一个匹配数据。str =“1233”1、替换第一个: A =str.replace(3,“2”)结果:12232、替换全部匹配内容: B=str.replace(/3/g,“2”)“g”是匹配全部的意思,这样str里面的所有数字3,都替换成数字2。结果:12222**3、全部内容替换:**string end = str.replace(RegExp(“1233”, “
2020-08-28 14:29:50
4472
原创 2020-08-23 微信小程序的九宫格布局
微信小程序的九宫格布局图标还需要做自己去找一下,用自己想用的图标,这只是一个大致的模板。WXML<view class="section"> <view class="tui-table-view"> <view class="tui-col-3"> <icon class="iconfont icon-shouye"></icon> <view>1</view> <
2020-08-23 15:16:30
1160
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人