This commit is contained in:
2025-03-28 10:48:50 +08:00
parent 168895b5ac
commit c689574b2c
6 changed files with 189 additions and 2 deletions

View File

@@ -0,0 +1,28 @@
<script setup>
import {ref} from "vue";
const emits = defineEmits(['success']);
const show = ref(false);
const success = (e) => {
emits('success', e);
}
</script>
<template>
<view @longpress="show=true">
<slot></slot>
</view>
<tui-actionsheet
v-bind="$attrs"
:show="show"
@click="success"
@cancel="show=false">
</tui-actionsheet>
</template>
<style scoped>
</style>