Commit aa6881d5 authored by chenqikuai's avatar chenqikuai

用户中心加上用户退出按钮

parent 39038bef
<template>
<div style="margin-top: 42.5px; padding-right: 31px" class="flex justify-end">
<Avatar></Avatar>
</div>
<div class="user-center">
<div class="g-flex-between">
<base-info :infos="userInfo" @ToUpdate="ToUpdate"></base-info>
......@@ -41,7 +44,7 @@
}, {
name: '确定',
click: async() =>{
$refs.verifyDialog.confirm()
($refs as any).verifyDialog.confirm()
return true;
},
}]
......@@ -65,6 +68,7 @@ import { GO_URLS } from "cqk-sy-ui";
import { getUserInfo } from "@/service/Api.service";
import { setuserInfos } from "@/store/mutations";
import { $ajax } from "@/service";
import Avatar from "@/components/Avatar/index.vue";
export default defineComponent({
components: {
......@@ -73,6 +77,7 @@ export default defineComponent({
SafeSet,
CommonDialog: syCommonDialog,
VerifyDialog,
Avatar,
},
data() {
return {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment