新增前端vue

This commit is contained in:
2025-11-27 18:09:08 +08:00
parent ee5b38babc
commit 40243abb84
22 changed files with 1331 additions and 261 deletions

View File

@@ -215,16 +215,15 @@ export const useUserStore = defineStore('app-user', {
* @description: Confirm before logging out
*/
async confirmLoginOut() {
// const { createConfirm } = useMessage();
// const { t } = useI18n();
// createConfirm({
// iconType: 'warning',
// title: () => h('span', t('sys.app.logoutTip')),
// content: () => h('span', t('sys.app.logoutMessage')),
// onOk: async () => {
await this.logout(true);
// },
// });
const { createConfirm } = useMessage();
createConfirm({
iconType: 'warning',
title: '温馨提示',
content: '确认要退出系统吗?',
onOk: async () => {
await this.logout(true);
},
});
},
},
});