submit
parent
dddfeb947c
commit
23a2438a88
@ -1,25 +1,21 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<tm-drawer placement="bottom" okText='确认' v-model:show="show" @close="close">
|
<tm-drawer placement="bottom" okText='确认' :show="show" @close="close">
|
||||||
</tm-drawer>
|
</tm-drawer>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { defineProps, onMounted, defineEmits, watch } from 'vue'
|
import { defineProps, defineEmits } from 'vue'
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
show: {
|
show: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
const emits = defineEmits(["update:show"]);
|
const emits = defineEmits(["update:show"]);
|
||||||
|
|
||||||
|
|
||||||
const close = () => {
|
const close = () => {
|
||||||
emits("update:show", false);
|
emits("update:show", false);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped></style>
|
<style lang="scss" scoped></style>
|
||||||
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB |
Loading…
Reference in New Issue