<template>
    <div>
        <button @click="HandleClick">事件测试</button>
    </div>
</template>

<script setup lang='ts'>

const props = defineProps<{
    url: string;
}>();

const HandleClick = () => {
    alert('Jump To ' + props.url);
}

</script>

<style scoped>

</style>