issues Search Results · repo:answershuto/learnVue language:JavaScript
Filter by
34 results
(77 ms)34 results
inanswershuto/learnVue (press backspace or delete to remove)Hello, it seems to be a good tutorial about vue 2. Are there any plans to translate it to english?
shaci
- Opened on Jan 24, 2021
- #74
这里如果当前浏览器支持__proto__属性,则直接覆盖当前数组对象原型上的原生数组方法,如果不支持该属性,则直接覆盖数组对象的原型。 这里写反了吧 如果支持__proto__属性,直接覆盖数组对象的原型,不支持则一一覆盖数组对象上的方法
horseson2018
- Opened on Nov 25, 2020
- #73
class Vue {
constructor(options) {
this._data = options.data;
observer(this._data, options.render);
let watcher = new Watcher(this, ); // 这括号里是没写完吗
}
}
horseson2018
- 3
- Opened on Jun 29, 2020
- #71
Vue.prototype.$emit = function (event: string): Component {
const vm: Component = this
if (process.env.NODE_ENV !== production ) {
const lowerCaseEvent = event.toLowerCase()
if (lowerCaseEvent ...
zhishaofei3
- Opened on Jun 9, 2020
- #70
比如const qnameCapture = ((?: + ncname + \:)? + ncname + ) const ncname = [a‐zA‐Z_][\w\‐\.]* ; 这样的正则为什么就可以匹配到标签了呢
那一整章节后面都不大理解,痛苦
genalhuang
- Opened on Dec 26, 2019
- #64
https://github.com/answershuto/learnVue/blob/9839fd9b03356eb1e7c30402236747523fe2439e/vue-src/core/instance/events.js#L80
L-skiing
- 2
- Opened on Dec 10, 2019
- #63
开始依赖收集 class Vue { constructor(options) { this._data = options.data; observer(this._data, options.render); let watcher =
new Watcher(this, ); } }
1. watcher的定义应该在observer之前,否则,defineReactive 无法获被添加到watcher ...
lazyunderscore
- 1
- Opened on Nov 18, 2019
- #62
function defineReactive (obj, key, val, cb) {
let val = val
Object.defineProperty(obj, key, {
enumerable: true,
configurable: true,
get: ()= {
/*....依赖收集等....*/ ...
Heyangzhouzz
- 2
- Opened on Apr 29, 2019
- #57
image image
BD%BF%E7%94%A8%E5%8F%8A%E5%85%B6%E5%AE%9E%E7%8E%B0%E5%8E%9F%E7%90%86.MarkDown
Rainnut
- Opened on Apr 29, 2019
- #56

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.