Processing math: 100%

随笔分类 -  前端

摘要:1、持续集成及Jenkins介绍 2、Jenkins安装和持续集成环境配置 3、Jenkins构建Maven项目 4、Jenkins+Docker+SpringCloud微服务持续集成 5、基于Kubernetes/K8S构建Jenkins微服务持续集成平台 阅读全文
posted @ 2022-07-19 10:22 journeyIT 阅读(38) 评论(0) 推荐(0) 编辑
摘要:const { getFieldDecorator, getFieldValue, setFieldsValue, resetFields, validateFields, getFieldError } = this.props.form; getFieldDecorator: 用于和表单进行双向 阅读全文
posted @ 2022-04-06 17:28 journeyIT 阅读(623) 评论(0) 推荐(0) 编辑
摘要:webpack环境安装 全局环境安装 npm install webpack-cli -g npm install webpack -g mac上安装webpack报错解决方法Hit error EACCES: permission denied, mkdir '/usr/local/lib/nod 阅读全文
posted @ 2019-04-23 08:56 journeyIT 阅读(10) 评论(0) 推荐(0) 编辑
摘要:小程序开发公众平台地址链接:https://developers.weixin.qq.com/miniprogram/introduction/index.html?t=19042217 环境配置 全局配置 对应文件:app.json 注册 pages window tabBar networkTi 阅读全文
posted @ 2019-04-22 22:13 journeyIT 阅读(16) 评论(0) 推荐(0) 编辑
摘要:可以使用path 和 name 来进行页面的跳转 this.router.push(path:/inspection/inspectionRegister,query:item)this.router.push({ name: 'inspectionRegister' 阅读全文
posted @ 2018-07-06 21:04 journeyIT 编辑
摘要:由于公司最近在做的项目,涉及App的开发,正好前段时间有研究过vue 和 react native 正好可以在此派上用场。 整个APP应用 采用 远程的Android WebViwe 内嵌 H5页面 方式进行开发 ,所以 H5页面采用 基于vue 和 ionic 的 vux框架 进行开发 (过程中遇 阅读全文
posted @ 2018-07-06 20:47 journeyIT 编辑
摘要:theme = { // 全图默认背景 // backgroundColor: ‘rgba(0,0,0,0)’, // 默认色板 color: ['#ff7f50','#87cefa','#da70d6','#32cd32','#6495ed', '#ff69b4','#ba55d3','#cd5c 阅读全文
posted @ 2018-05-24 09:31 journeyIT 阅读(19) 评论(0) 推荐(0) 编辑
摘要:一、安装 dva-cli cnpm install dva-cli -g 二、创建应用 dva new dva-project 三、启动应用 cd dva-project npm start 四、安装并使用antd cnpm install antd babel-plugin-import --sa 阅读全文
posted @ 2018-03-02 09:54 journeyIT 阅读(985) 评论(0) 推荐(0) 编辑
摘要:let createIterator = items =>{ let i = 0; return { next () { let done = (i >= items.length); let value = !done ? items[i++] : undefined; return { done 阅读全文
posted @ 2018-01-25 15:07 journeyIT 阅读(15) 评论(0) 推荐(0) 编辑
摘要:'use strict' import 'semantic-ui/semantic.min.css!'; import React, { Component } from 'react'; import ReactDOM from 'react-dom'; // import { Router, R 阅读全文
posted @ 2018-01-23 18:06 journeyIT 阅读(8) 评论(0) 推荐(0) 编辑
摘要:打开CommentBox.js 修改handleCommentSubmit方法 handleCommentSubmit(comment){ // console.log(comment); let comments = this.state.data, newComments = comments. 阅读全文
posted @ 2018-01-23 16:00 journeyIT 阅读(6) 评论(0) 推荐(0) 编辑
摘要:儿子将获取到的数据提交给父亲 打开CommentBox.js 我们在CommentForm标签上添加onCommentSubmit={this.handleCommentSubmit} 创建handleCommentSubmit方法 handleCommentSubmit(comment){ con 阅读全文
posted @ 2018-01-23 13:50 journeyIT 阅读(15) 评论(0) 推荐(0) 编辑
摘要:在input和textarea标签上使用ref属性 <input type="text" placeholder="姓名" ref="author"/> <textarea placeholder="评论" ref="text"></textarea> 在onSubmit={this.handleS 阅读全文
posted @ 2018-01-23 13:24 journeyIT 阅读(32) 评论(0) 推荐(0) 编辑
摘要:事件处理函数的使用 鼠标事件: onClick onContextMenu onDoubleClick onMouseDown onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onDrop onDrag o 阅读全文
posted @ 2018-01-23 13:12 journeyIT 阅读(13) 评论(0) 推荐(0) 编辑
摘要:修改main.js CommentBox标签 <CommentBox url="app/comments.json"/>,document.getElementById('app') 在 app 文件夹下 新建 comments,json 文件 [ {"author": "journey" , "d 阅读全文
posted @ 2018-01-23 12:48 journeyIT 阅读(24) 评论(0) 推荐(0) 编辑
摘要:打开main.js 添加一些模拟数据 var comments = [ {"author": "journey" , "date" : "3分钟前" , "text" : "今天天气有点冷!"}, {"author": "jim" , "date" : "5分钟前" , "text" : "今天早上 阅读全文
posted @ 2018-01-23 11:41 journeyIT 阅读(32) 评论(0) 推荐(0) 编辑
摘要:在comment文件夹下新建Comment.js Comment.js 'use strict' import React from 'react'; class Comment extends React.Component{ render(){ return ( <div className=" 阅读全文
posted @ 2018-01-23 11:14 journeyIT 阅读(16) 评论(0) 推荐(0) 编辑
摘要:在app下的comment文件夹下面分别新建CommentList.js 和 CommentForm.js CommentList.js 'use strict' import React from 'react'; class CommentList extends React.Component 阅读全文
posted @ 2018-01-23 10:58 journeyIT 阅读(24) 评论(0) 推荐(0) 编辑
摘要:在app文件夹下新建一个comment文件夹,并创建CommentBox.js CommentBox.js 'use strict'; import React from 'react'; class CommentBox extends React.Component{ render() { re 阅读全文
posted @ 2018-01-22 22:31 journeyIT 阅读(9) 评论(0) 推荐(0) 编辑
摘要:使用命令 jspm install react 进行安装 使用命令 jspm install react-dom 安装 react-dom 使用命令 jspm install semantic-ui 进行 semantic-ui样式的安装(不是必须) 使用 jspm install css 进行插件 阅读全文
posted @ 2018-01-22 21:48 journeyIT 阅读(18) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示