chore: remove stale _isVue checks
This commit is contained in:
parent
386b093554
commit
352c369704
@ -29,7 +29,6 @@ const isObservableType = /*#__PURE__*/ makeMap(
|
||||
|
||||
const canObserve = (value: any): boolean => {
|
||||
return (
|
||||
!value._isVue &&
|
||||
!value._isVNode &&
|
||||
isObservableType(toRawType(value)) &&
|
||||
!rawValues.has(value) &&
|
||||
|
@ -81,7 +81,7 @@ export function callWithAsyncErrorHandling(
|
||||
): any[] {
|
||||
if (isFunction(fn)) {
|
||||
const res = callWithErrorHandling(fn, instance, type, args)
|
||||
if (res && !res._isVue && isPromise(res)) {
|
||||
if (res && isPromise(res)) {
|
||||
res.catch(err => {
|
||||
handleError(err, instance, type)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user