mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-25 10:56:35 +08:00
chore(@vant/use): export supportsPassive
This commit is contained in:
parent
596c111a57
commit
7a6aafedb9
@ -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 = {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user