- 博客(9)
- 收藏
- 关注
原创 看不到git远程分支
看不到git远程分支问题描述git上已经有人建立分支branch170628_foo,希望在本地切换到该分支。但使用git命令切换分支时报错。$ git checkout branch170628_fooerror: pathspec ‘branch170628_foo’ did not match any file(s) known to git.查看远程分支,发现看不到目标分支。解...
2020-04-02 17:45:45 159
原创 unknown action type: xxx
[vuex] unknown action type: xxx[vuex] unknown action type: xxx注释掉export default { // namespaced: true, state, getters, actions, mutations}或者this.$store.dispatch('functionName')换成th...
2019-04-11 16:49:16 12137 3
原创 微信小程序自定义组件
组件 component-name配置json文件component-name.json{ "component": true, "usingComponents": {}}component-name.jsComponent({ /** * 组件的属性列表 */ properties: { }, /** * 组件的初始数据 */ ...
2019-03-07 17:55:40 201
原创 React Native 指定模拟器手机型号 --simulator
控制指定型号即可:react-native run-ios --simulator="iPhone X"
2019-02-28 13:37:49 1533
转载 Mac npm react-native-cli 报错(checkPermissions Missing write access to /usr/local/lib/node_modules)
Missing write access to /usr/local/lib/node_modulesnpm WARN checkPermissions Missing write access to /usr/local/lib/node_modulesnpm ERR! path /usr/local/lib/node_modulesnpm ERR! code EACCESnpm ERR...
2019-02-26 11:14:53 1057
转载 Vue packages version mismatch:
Vue packages version mismatch:vue@2.6.4vue-server-renderer@2.4.4This may cause things to work incorrectly. Make sure to use the same version for both.**解决办法**npm install vue@2.4.4 --save...
2019-02-11 10:25:24 1274
转载 H5页面滑动卡顿
解决办法body { -webkit-overflow-scrolling: touch;overflow-scrolling: touch;}
2019-01-09 09:16:23 1210 1
转载 swiper pagination 渲染不出来
swiper pagination 渲染不出来解决办法解决办法<script type="text/javascript"> var swiper = new Swiper('.swiper-container', { pagination: { el: '.swiper-pagination', }, });</script>...
2018-12-14 11:00:09 14474 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人