mirror of https://github.com/vuejs/core.git
chore: fix lint
This commit is contained in:
parent
1d8727ec97
commit
8708a7f1ef
|
@ -329,5 +329,6 @@ export function trigger(
|
|||
* Test only
|
||||
*/
|
||||
export function getDepFromReactive(object: any, key: string | number | symbol) {
|
||||
// eslint-disable-next-line
|
||||
return targetMap.get(object)?.get(key)
|
||||
}
|
||||
|
|
|
@ -98,7 +98,7 @@ export function queueJob(job: SchedulerJob) {
|
|||
} else if (
|
||||
// fast path when the job id is larger than the tail
|
||||
!(job.flags! & SchedulerJobFlags.PRE) &&
|
||||
job.id >= (queue[queue.length - 1]?.id || 0)
|
||||
job.id >= ((queue[queue.length - 1] && queue[queue.length - 1].id) || 0)
|
||||
) {
|
||||
queue.push(job)
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue