minor
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<template lang='pug'>
|
<template lang='pug'>
|
||||||
el-menu
|
el-menu.menu
|
||||||
el-divider {{$t('common.admin')}}
|
el-divider {{$t('common.admin')}}
|
||||||
el-menu-item
|
el-menu-item
|
||||||
div(@click.prevents='toggle') {{$t(event.is_visible?'common.hide':'common.confirm')}}
|
div(@click.prevents='toggle') {{$t(event.is_visible?'common.hide':'common.confirm')}}
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ export default {
|
|||||||
type: 'success',
|
type: 'success',
|
||||||
message: this.$t('common.password_updated')
|
message: this.$t('common.password_updated')
|
||||||
})
|
})
|
||||||
this.$router.replace('/?ref=login')
|
this.$router.replace('/login')
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
Message({
|
Message({
|
||||||
showClose: true,
|
showClose: true,
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ export default {
|
|||||||
type: 'success',
|
type: 'success',
|
||||||
message: this.$t('common.password_updated')
|
message: this.$t('common.password_updated')
|
||||||
})
|
})
|
||||||
this.$router.replace('/?ref=login')
|
this.$router.replace('/login')
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
Message({
|
Message({
|
||||||
showClose: true,
|
showClose: true,
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ export default {
|
|||||||
type: 'success',
|
type: 'success',
|
||||||
message: this.$t('common.password_updated')
|
message: this.$t('common.password_updated')
|
||||||
})
|
})
|
||||||
this.$router.replace('/?ref=login')
|
this.$router.replace('/login')
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
Message({
|
Message({
|
||||||
showClose: true,
|
showClose: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user