liveh5-nuxt/app/pages/keepalive/index.vue
xingyy e30b993601 refactor: 将导入路径从波浪号(~)改为 @- 修改了多个文件中的导入路径,将 ~/ 替换为 @/
- 这个改动统一了项目中的导入路径格式,提高了代码的一致性和可维护性
2025-01-23 19:43:45 +08:00

17 lines
419 B
Vue

<template>
<div class="h-[100vh] w-[100vw]">
<SignaturePad v-model="signature" @change="handleSignatureChange"/>
</div>
</template>
<script setup>
import { ref } from 'vue'
import SignaturePad from '@/components/SignaturePad.vue'
const signature = ref('')
const handleSignatureChange = (imageData) => {
// imageData 是 base64 格式的图片数据
console.log('签名已更新:', imageData)
}
</script>