02 2021 档案
摘要:箭头函数 window.onhashchange = () => { // 当用户点击锚点的时候,我们需要获取当前的锚点标识 // 然后动态的将根组件中的 visible 设置为当前的锚点标识 console.log(this.visible); };
阅读全文
摘要:使用 es6 编译器编译 tsc file.ts -t es6 WebStorm开发TypeScript的设置 https://www.cnblogs.com/wfaceboss/p/10043101.html
阅读全文
摘要:安装指定版本的 angular-cli 并创建应用,1.6.4 是 angular 5 的脚手架 cnpm install -g @angular/cli@1.6.2 如果报错,比如说缺少 module '@angular-devkit/core'。不能直接安装 cnpm i -g @angular
阅读全文
摘要:https://guestlogin.swissre.com/login.html
阅读全文
摘要:1. TypeNotPresentException: Type org.flywaydb.core.api.callback.FlywayCallback not present 解决办法: 6.4.6 降级到 5.2.1 2. Migration createMetaDataTable.sql
阅读全文
摘要:cron 表达式在线生成器:https://www.bejson.com/othertools/cron/ 解决的问题 业务拓扑图 架构图 hands-on, 官网: https://github.com/xuxueli/xxl-job 学习视屏: https://www.bilibili.com/
阅读全文
摘要:position: fixed <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>position: fixed</title> <style type="text/css"> .box1{ width: 20
阅读全文
摘要:position: absolute <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>position: absolute</title> </head> <body> <div id="wrap"> <di
阅读全文
摘要:相对定位 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style type="text/css"> * { margin: 0; padding: 0; } .box1{ w
阅读全文
摘要:三列布局03-圣杯 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>三列布局03-圣杯</title> <!-- 1.两边固定 当中自适应 2.当中列要完整显示 3.当中列要优先加载 --> <!-- 1.
阅读全文
摘要:float 浮动提升层级。 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style type="text/css"> 浮动提升层级。 浮动提升半层。 一个元素分两层:上层是文
阅读全文
摘要:position 包含块 1. 定位元素参照于包含块来定位 2. 什么是初始包含块 3. left top right bottom width height 默认值 auto 4. margin padding 默认值 0 5. 百分比参照于谁?width <!DOCTYPE html> <htm
阅读全文
摘要:1. 设置缩进: 2. 设置 *.vue的代码缩进由 2 个空格改为 4 个空格 - File > Settings > Editor > Code Style > JavaScript的设置,发现Indent的键值为4:(但是发现不起作用) - 解决方案是修改项目根目录下的.editorconfi
阅读全文