- computed 和 watch 的区别和运用的场景?vue是如何实现这两个功能的?
- keep-alive,原理?
- vue的组件有哪些生命周期?
- vue的渲染过程(只说出关键节点)?
- vue的指令是怎么实现的?有哪些生命周期
- vue的style可以加scope,是怎么做到的?
- vue3有什么新特性
- Vue css scope 怎么实现的
- 批量异步更新策略及 nextTick 原理
- Vuex 状态管理的工作原理
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TypeScript 4 hrs 20 mins ██████████████████▍░░ 87.8% | |
JavaScript 17 mins █▏░░░░░░░░░░░░░░░░░░░ 5.7% | |
C++ 6 mins ▍░░░░░░░░░░░░░░░░░░░░ 2.0% | |
JSON 5 mins ▍░░░░░░░░░░░░░░░░░░░░ 1.9% | |
Other 3 mins ▏░░░░░░░░░░░░░░░░░░░░ 1.0% |
- 写出以下代码在浏览器中执行的输出顺序,并简要阐述执行过程
console.log('start')
function fn() {
console.log('fn');
}
- 实现一个函数 find(obj, str),满足以下
const obj = { a: { b: { c: 1 } } };
find(obj, 'a.b.c') //1
find(obj, 'a.d.c') //undefined
const find = obj => {
// TODO...
}
-
img标签的alt和title分别有什么作用?
-
类似 ul { MaRGin: 10px; } 这样的CSS属性名是大小写敏感的吗?
-
lorem
的颜色是什么颜色?
<style>
ul#awesome {
color: red;
}
-
说明
<dl>
,<dd>
,<dt>
,<ol>
,<ul>
,<figure>
,<figcaption>
的使用场景。 -
CSS的at-rule(@)有哪些?举例说明分别有哪些作用。
-
I am awesome
文字的颜色是?
<style>
#awesome .favorite:not(#awesome) .highlight {
color: red;
}