You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
520 B
28 lines
520 B
|
1 year ago
|
<script setup>
|
||
|
|
import { defineEmits } from "vue";
|
||
|
|
|
||
|
|
const emit = defineEmits(["onClick"]);
|
||
|
|
|
||
|
|
const onClick = () => {
|
||
|
|
emit("onClick");
|
||
|
|
};
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<template>
|
||
|
|
<v-tooltip location="bottom" text="수정">
|
||
|
|
<template v-slot:activator="{ props }">
|
||
|
|
<v-btn
|
||
|
|
@click="onClick"
|
||
|
|
class="ma-1"
|
||
|
|
icon="mdi-pencil"
|
||
|
|
color="warning"
|
||
|
|
density="comfortable"
|
||
|
|
elevation="0"
|
||
|
|
size="small"
|
||
|
|
v-bind="props"
|
||
|
|
>
|
||
|
|
</v-btn>
|
||
|
|
</template>
|
||
|
|
</v-tooltip>
|
||
|
|
</template>
|