24 lines
364 B
Vue
24 lines
364 B
Vue
<template>
|
|
<div>
|
|
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { useFingerprint } from '@/utils/useFingerprint';
|
|
|
|
// 使用自定义hook获取指纹信息
|
|
const {
|
|
fingerprint,
|
|
loading,
|
|
error,
|
|
getFingerprint
|
|
} = useFingerprint();
|
|
|
|
// 重新获取指纹
|
|
const refreshFingerprint = async () => {
|
|
await getFingerprint();
|
|
};
|
|
</script>
|
|
|
|
<style scoped></style> |