25 lines
480 B
Vue
25 lines
480 B
Vue
<template>
|
|
<div>
|
|
<tm-drawer placement="bottom" okText='确认' v-model:show="show" @close="close">
|
|
</tm-drawer>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { defineProps, onMounted, defineEmits, watch } from 'vue'
|
|
const props = defineProps({
|
|
show: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
})
|
|
|
|
const emits = defineEmits(["update:show"]);
|
|
|
|
|
|
const close = () => {
|
|
emits("update:show", false);
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped></style> |