theshy

博客园 首页 新随笔 联系 订阅 管理

2020年4月11日 #

摘要: 为什么要前端模块化 变量重名 index.html里a.js和c.js的顺序不同,结果就不同 匿名函数(闭包)解决重名问题 这又会导致一个问题:外界不能访问a.js的share变量了 解决办法 这就是模块化的思想(导出导入模块),现在衍生出好多模块化规范,我们不需要自己这样写了 常见的模块化规范(导 阅读全文
posted @ 2020-04-11 22:23 tziSher 阅读(168) 评论(0) 推荐(0) 编辑

2020年4月10日 #

摘要: 快速判断能否使用son组件 父传子 子传父 父组件获取子组件实例 在父组件写this.$children 阅读全文
posted @ 2020-04-10 20:09 tziSher 阅读(115) 评论(0) 推荐(0) 编辑

2020年3月22日 #

摘要: 依赖管理 一键构建 maven项目就运行起来了 并在后面提供了一个访问地址 安装 下载包并解压 配置环境变量 mvn -v maven目录结构 idea集成maven 创建maven项目 使用骨架创建 阅读全文
posted @ 2020-03-22 19:11 tziSher 阅读(127) 评论(0) 推荐(0) 编辑

摘要: 准备工作 项目导入 将08-初始项目里的travel目录复制到idea工作空间里 启动项目 阅读全文
posted @ 2020-03-22 17:00 tziSher 阅读(198) 评论(0) 推荐(0) 编辑

2020年3月20日 #

摘要: 框架就经常用到反射,只要读取全类名,便可以创建对象 https://baijiahao.baidu.com/s?id=1655193835490948584&wfr=spider&for=pc 这一次,彻底弄懂 Java 字节码文件!https://www.cnblogs.com/houchen/p 阅读全文
posted @ 2020-03-20 22:18 tziSher 阅读(115) 评论(0) 推荐(0) 编辑

2020年3月19日 #

摘要: https://blog.csdn.net/weixin_30586085/article/details/101437617 MySql5.7配置文件my.ini 设置 my.ini文件路径 Cannot load driver class: com.mysql.jdbc.Driver 一般是连接 阅读全文
posted @ 2020-03-19 15:07 tziSher 阅读(90) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2020-03-19 13:47 tziSher 阅读(138) 评论(0) 推荐(0) 编辑

2020年3月17日 #

摘要: #include <iostream> #include <vector> #include <cstring> using namespace std; const int _max = 350; int c1[_max], c2[_max];//c1[i]:当前多项式x^i的系数 vector< 阅读全文
posted @ 2020-03-17 17:37 tziSher 阅读(115) 评论(0) 推荐(0) 编辑

摘要: #include <iostream> #include <vector> #include <cstring> using namespace std; const int _max = 60; int c1[_max], c2[_max];//c1[i]:当前多项式x^i的系数 vector<i 阅读全文
posted @ 2020-03-17 17:15 tziSher 阅读(112) 评论(0) 推荐(0) 编辑

摘要: public class Solution { /** * @param candidates: A list of integers * @param target: An integer * @return: A list of lists of integers */ public List< 阅读全文
posted @ 2020-03-17 15:59 tziSher 阅读(113) 评论(0) 推荐(0) 编辑