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

Function toggleObserving

vue.js:1329–1331  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1327 */
1328 var shouldObserve = true; //标志是否禁止还是添加到观察者模式
1329 function toggleObserving(value) {
1330 shouldObserve = value;
1331 }
1332
1333 /**
1334 * Observer class that is attached to each observed

Callers 4

validatePropFunction · 0.85
updateChildComponentFunction · 0.85
initPropsFunction · 0.85
initInjectionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected