基于vue3.0和element-plus的组件库
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.
 
 
 
 

22 lines
523 B

<template>
<el-row>
<NoobButton type="primary" @click="emit('confirm')">{{
t("base.confirm")
}}</NoobButton>
<el-space fill />
<NoobButton type="info" @click="emit('cancel')">{{
t("base.cancel")
}}</NoobButton>
</el-row>
</template>
<script setup lang="ts">
import { NoobButton } from "noob-mengyxu";
import { useI18n } from "vue3-i18n";
const { t } = useI18n();
const emit = defineEmits<{
(e: "confirm"): void | Promise<void>;
(e: "cancel"): void | Promise<void>;
}>();
</script>