mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +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 { inBrowser } from '../utils';
|
||||
|
||||
let supportsPassive = false;
|
||||
// eslint-disable-next-line
|
||||
export let supportsPassive = false;
|
||||
|
||||
if (inBrowser) {
|
||||
try {
|
||||
const opts = {};
|
||||
|
Loading…
x
Reference in New Issue
Block a user