minor
This commit is contained in:
parent
1980c51ec3
commit
1128cf1d30
4 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue