🎨 点击外部也给退出好了

This commit is contained in:
BTMuli
2023-05-28 15:27:01 +08:00
parent c6af9870ab
commit ad2d5ca657
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
</template>
<script lang="ts" setup>
// vue
import { onUpdated, ref, provide, watch, toRefs } from "vue";
import { ref, watch } from "vue";
interface TolProps {
modelValue: boolean;

View File

@@ -1,5 +1,5 @@
<template>
<TOverlay v-model="visible" hide>
<TOverlay v-model="visible" hide :to-click="onCancel">
<div class="toc-box">
<div class="box-div">
<div class="toc-top">