🎨 点击外部也给退出好了

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

View File

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