Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Captain.B 2020-05-13 18:02:47 +08:00
commit e7f854cd1f
4 changed files with 11 additions and 2 deletions

View File

@ -4,7 +4,7 @@
:key="index"
:effect="effect"
:type="type"
:content="role.name"/>
:content="$t('role.' + role.id)"/>
</div>
</template>

View File

@ -67,7 +67,6 @@
language: language
};
this.result = this.$post("/user/update/current", user, response => {
this.$success(this.$t('commons.modify_success'));
localStorage.setItem(TokenKey, JSON.stringify(response.data));
window.location.reload();
});

View File

@ -124,6 +124,11 @@ export default {
},
role: {
'please_choose_role': 'Please Choose Role',
'admin': 'Admin',
'org_admin': 'Org_Admin',
'test_manager': 'Test_Manager',
'test_user': 'Test_User',
'test_viewer': 'Test_Viewer',
},
report: {
'recent': 'Recent Report',

View File

@ -124,6 +124,11 @@ export default {
},
role: {
'please_choose_role': '请选择角色',
'admin': '系统管理员',
'org_admin': '组织管理员',
'test_manager': '测试经理',
'test_user': '测试人员',
'test_viewer': 'Viewer'
},
report: {
'recent': '最近的报告',