chore(@vant/use): export supportsPassive
This commit is contained in:
@@ -2,7 +2,9 @@ import { Ref, unref, onUnmounted, onDeactivated } from 'vue';
|
|||||||
import { onMountedOrActivated } from '../onMountedOrActivated';
|
import { onMountedOrActivated } from '../onMountedOrActivated';
|
||||||
import { inBrowser } from '../utils';
|
import { inBrowser } from '../utils';
|
||||||
|
|
||||||
let supportsPassive = false;
|
// eslint-disable-next-line
|
||||||
|
export let supportsPassive = false;
|
||||||
|
|
||||||
if (inBrowser) {
|
if (inBrowser) {
|
||||||
try {
|
try {
|
||||||
const opts = {};
|
const opts = {};
|
||||||
|
|||||||
Reference in New Issue
Block a user