Skip to content

Latest commit

 

History

History
65 lines (61 loc) · 2.46 KB

hotfix.md

File metadata and controls

65 lines (61 loc) · 2.46 KB

question at work

  • keep-alive缓存功能 activated() {}

  • window.innerHeight

  • document.body.clientHeight

  • Can not use keyword 'await' outside an async function

  • 结构元素 header,section

  • 屏幕尺寸 1280X720(648,616) 1920x1080 16X9

  • .login-input > span > i为何可以重置样式,而login-icon-style却不行

  • 不定高元素垂直居中

  • https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit object-fit

  • background-size: cover;

  • vue中引入script

  • 把await放在if-else里面,外面的代码是否会等待异步

  • const 对象 改变属性值

  • el-form prop

  • Infinity

  • http请求参数为 undefined或null时

  • 普通元素 ref dom .style

  • es5 数组方法

  • string 不推荐使用substr

  • 不推荐使用for in

  • flex元素高度 怎么就保持一致了呢 setting.vue

  • "TypeError: canvasData.toDataURL(...) is not a function"

  • canvas toBlob 匿名函数 异步 回调函数 await setTimeout

  • www.terra-it.cn

  • (callback && typeof(callback) === "function") && callback();

  • element notify message VNode

  • /[\w!#$%&'+/=?^_{|}~-]+(?:\.[\w!#$%&'*+/=?^_{|}~-]+)@(?:\w?.)+\w?/

  • button span

  • Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "pid"

    • prop不传值时默认?
  • focus

  • vuex与localstorage

  • 函数 如果没有参数 默认为0 ts与JS

  • js console object 骗人

  • img tag height 与CSS优先级

  • parseInt(val, 10)

  • visio

  • echart元素 给定height

  • 本地编译时进行合并编译

  • git checkout 与 commit

  • first-child 孙元素

  • back

  • multi column list view

  • git rebase

    • git diff
    • git log -p -- src/router.ts
  • vant-nav-bar 底线怎么加的 添加自定义class为什么会显示在第一个,即在.van-nav-bar之前

  • Cordova

  • Object.assign

  • css peek

  • button square

  • :nth-child(n) 选择器匹配属于其父元素的第N个子元素,不论元素的类型。

  • 和name配对的是params,和path配对的是query

  • node EPIPE: broken pipe, write 与VS code版本有关 Update to 1.49.1

  • linear-gradient

  • 继承属性与非继承属性的默认值

    • background-color transparent
  • background-color 与background-image共用

  • van-button之间的间距

  • 类似post/:id格式的动态参数存放在$route.params中,而post?id=1的url参数存放在$route.query中