refactor: 优化个人中心账户管理功能

This commit is contained in:
wangqiao
2025-09-11 21:21:56 +08:00
parent b0b50ed960
commit fec929bf06
7 changed files with 119 additions and 10 deletions

View File

@ -0,0 +1,18 @@
<template>
<div class="box-border w-auto border border-[#EEEEEE] rounded-6px border-solid bg-[#FFFFFF] px-30px py-21px mt-10px">
<el-button type="danger" @click="handleClick">注销账号</el-button>
</div>
</template>
<script setup lang="ts">
const handleClick = () => {
console.log('注销账号')
ElMessageBox.confirm('确定注销账号吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
}).then(() => {
console.log('注销账号')
})
}
</script>