Merge branch 'dev-2.0' of https://git.mesalab.cn/nezha/nezha-fronted into dev-2.0
This commit is contained in:
@@ -1758,6 +1758,7 @@ const cn = {
|
||||
profile: {
|
||||
profile: '个人中心',
|
||||
close: '关闭',
|
||||
clear: '清空',
|
||||
enable: '启用',
|
||||
update: '更新',
|
||||
operationRecord: '操作记录',
|
||||
|
||||
@@ -1640,6 +1640,7 @@ const en = {
|
||||
profile: {
|
||||
profile: 'Profile',
|
||||
close: 'Close',
|
||||
clear: 'Clear',
|
||||
enable: 'Enable',
|
||||
update: 'Update',
|
||||
operationRecord: 'Operation log',
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
<!-- 底部按钮 -->
|
||||
<template>
|
||||
<div class="profile-change__Pin-button">
|
||||
<button @click="close" id="profile-close" class="footer__btn footer__btn--light">
|
||||
<span>{{$t('profile.close')}}</span>
|
||||
<button @click="clear" id="profile-close" class="footer__btn footer__btn--light">
|
||||
<span>{{$t('profile.clear')}}</span>
|
||||
</button>
|
||||
<button @click="changePin" id="profile-update" class="footer__btn">
|
||||
<span>{{$t('profile.update')}}</span>
|
||||
@@ -78,8 +78,8 @@ export default {
|
||||
dialogClosed: function () {
|
||||
this.$emit('dialogClosed')
|
||||
},
|
||||
close: function () {
|
||||
this.visible = false
|
||||
clear: function () {
|
||||
this.user = {}
|
||||
},
|
||||
changePin: function () {
|
||||
this.$refs.changePinForm.validate((valid) => {
|
||||
|
||||
Reference in New Issue
Block a user