Coder Social home page Coder Social logo

blog's Introduction

随心记录

博客

blog's People

Contributors

1269894710 avatar

Watchers

James Cloos avatar

blog's Issues

20181103本周总结

对本周安装软件的总结

1.Git的安装和使用

  (1)[官网下载安装](https://git-scm.com/downloads)
  (2)克隆代码到本地 git clone https://github.com/zhaoyan123456789/exercise1.git
  (3)提交代码到GitHub   新增文件需要 git add .  -->  没有新增则直接git commit -m ‘提交注释’  -->          git push 
  (4)结合webstorm的代码提交参照此链接 <https://blog.csdn.net/dkbnull/article/details/61414350>

###2. hexo + GitHub创建个人博客
(1)创建的详细步骤参照此链接 https://www.cnblogs.com/fengxiongZz/p/7707219.html
(2)安装Typora编写.md格式文件
(3)博客插入图片
首先确认 _config.yml 中有 post_asset_folder:true
安装插件:npm install https://github.com/CodeFalling/hexo-asset-image --save 在 hexo 目录,执行
md插入图片的格式:
(4)hexo new‘newfile’ 创建.md文件,在文件中编写内容
(5)hexo c 清除缓存
hexo d -g 提交

3.Travis-ci自动测试GitHub项目

   (1) [官网](https://www.travis-ci.org)直接登录GitHub账号,选择要构建的项目
   (2)本地代码中要加入.travis.yml,配置提交到GitHub项目自动构建

最后的总结:
第一次使用GitHub并部署自己的博客很多功能不太熟悉,创建的项目和页面还很简陋,以后会越来越好的。

20181110本周总结

对上周要预习的内容做了个回顾:

  练习1: 监控函数错误的处理做了修改,上周没有理解对于错误处理的含义,本周看了文档以及其他
        同学的练习答案,做了修改。
  练习2: 添加了travis测试,上周没有接入,本周看了官网的配置介绍,接入测试并测试通过。
  练习3: 修改了travis测试配置文件,上周没有测试通过,本周测试通过。

本周总结:

 1.通过homework1新了解了数据结构的链式合并,以前项目中都是简单的页面实现没有接触过,所以
 百度查找了一些文档,也只能说是了解了一点,参考此网站的介绍完成了本周
 作业https://www.cnblogs.com/justany/archive/2012/11/04/2753096.html
 2.练习4: 以前没有去想过当前使用的this的指向问题,都是凭经验去用,这道练习题让我又多了思考,
 重新去查找文档了解

自己项目中遇到的问题:

 移动端vue想要做一个返回不刷页面的效果,但是vue的keep-alive的缓存在列表跳详情的时候,
 总是缓存第一次点的那条数据,再返回列表换一条数据进去,进入子页面再返回时,数据还是
 第一次的数据。
 目前解决办法:(1)在页面做了监听路由ID的变化,再刷一次数据,页面可以正常使用,但是多刷
 一次数据总感觉很奇怪。(2)在进去详情页时把接口数据提交存起来,等返回的时候取出来,把数
 据再刷一次,但感觉页面有轻微的刷数据的效果,体验不好
 还没有找到最优的解决方法,只能说继续努力吧。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.