<template>
  <h1>
    Common Hello.vue <br /><small>{{ modalDisplay }}</small>
    <van-button type="primary" @click="modalDisplay = !modalDisplay">
      主要按钮
    </van-button>
  </h1>
</template>

<script setup>
const modalDisplay = useModal();
console.log(modalDisplay.value);
</script>
