07 2020 档案

摘要://withModel.tsx import React, { Component } from "react"; import { Modal } from "antd"; export interface withLoadingProps { isLoading: boolean; modalP 阅读全文
posted @ 2020-07-17 11:10 清明|雨上 阅读(295) 评论(0) 推荐(0)
摘要:其实不管是vue还是react,其路由懒加载的实现得益于wepack的异步模块打包,webpack会对代码中异步引入的模块单独打包一份,直到真正调用的时候才去服务端拿。典型的例子就是下面这样一段代码方法一://lazyLoad.js import React from 'react'; export 阅读全文
posted @ 2020-07-09 14:32 清明|雨上 阅读(602) 评论(0) 推荐(0)
摘要:常规用法:git clone 地址git pullgit add .git commit -m "注释"git push 合并分支: git merge 分支名 和 git rebase 分支名 放弃本次更改 git checkout . 如果远程仓库不存在要push的分支则: git push - 阅读全文
posted @ 2020-07-01 14:49 清明|雨上 阅读(109) 评论(0) 推荐(0)