|
|
@ -794,19 +794,16 @@ |
|
|
|
})); |
|
|
|
})); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if (vm._widget) { |
|
|
|
// vm中一定有_widget
|
|
|
|
vm._widget._watchers || (vm._widget._watchers = []); |
|
|
|
vm._widget._watchers || (vm._widget._watchers = []); |
|
|
|
vm._widget._watchers = vm._widget._watchers.concat(watchers); |
|
|
|
vm._widget._watchers = vm._widget._watchers.concat(watchers); |
|
|
|
} |
|
|
|
|
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
if (BI.Widget.current) { |
|
|
|
if (BI.Widget.current) { |
|
|
|
|
|
|
|
|
|
|
|
handler = watch; |
|
|
|
handler = watch; |
|
|
|
watch = vm; |
|
|
|
watch = vm; |
|
|
|
BI.Widget.current.$watchDelayCallbacks || (BI.Widget.current.$watchDelayCallbacks = []); |
|
|
|
BI.Widget.current.$watchDelayCallbacks || (BI.Widget.current.$watchDelayCallbacks = []); |
|
|
|
BI.Widget.current.$watchDelayCallbacks.push([watch, handler]); |
|
|
|
BI.Widget.current.$watchDelayCallbacks.push([watch, handler]); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|