@@ -65,6 +65,10 @@ export default {
...mapActions(['login', 'update']),
async toLogout() {
this.deleteUser();
+ this.$notify({
+ title: '注销成功',
+ type: 'success',
+ });
this.toLogin();
},
handleCommand(type) {
@@ -24,6 +24,7 @@ import _ from 'lodash';
const { mapActions } = createNamespacedHelpers('login');
export default {
name: 'login',
+ metaInfo: { title: '登陆' },
props: {},
components: { dataForm },
data: () => ({