MCPcopy Index your code
hub / github.com/ygs-code/vue / forceRender

Function forceRender

vue.js:3481–3486  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3479 var sync = true;
3480 //渲染
3481 var forceRender = function () {
3482 for (var i = 0, l = contexts.length; i < l; i++) {
3483 //更新数据 观察者数据
3484 contexts[i].$forceUpdate();
3485 }
3486 };
3487 //成功 状态渲染
3488 var resolve = once(function (res) { //确保只是渲染一次
3489 // cache resolved

Callers 1

resolveAsyncComponentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected