mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 16:44:21 +00:00
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 { inBrowser } from '../utils';
|
||||
|
||||
let supportsPassive = false;
|
||||
// eslint-disable-next-line
|
||||
export let supportsPassive = false;
|
||||
|
||||
if (inBrowser) {
|
||||
try {
|
||||
const opts = {};
|
||||
|
Reference in New Issue
Block a user