perf: 修改 asset login acl

This commit is contained in:
ibuler
2023-05-08 10:49:09 +08:00
parent edc74c8dfb
commit 09bd49941f
5 changed files with 10 additions and 7 deletions

View File

@@ -1,6 +1,7 @@
{
"": "",
"accounts": {
"Accounts": "Accounts",
"SelectAccount": "Select account",
"UpdateSecret": "Update secret",
"AccountPolicy": "Account policy",
@@ -2134,4 +2135,4 @@
"PublishStatus": "Publish status",
"NoPublished": "Unpublished"
}
}
}

View File

@@ -1,6 +1,7 @@
{
"": "",
"accounts": {
"Accounts": "アカウント",
"SelectAccount": "アカウントを選択",
"UpdateSecret": "機密の更新",
"AccountPolicy": "アカウントポリシー",
@@ -2126,4 +2127,4 @@
"PublishStatus": "投稿ステータス",
"NoPublished": "未発表"
}
}
}

View File

@@ -1,6 +1,7 @@
{
"": "",
"accounts": {
"Accounts": "账号",
"SelectAccount": "选择账号",
"UpdateSecret": "更新密文",
"AddAccountResult": "账号批量添加结果",

View File

@@ -20,10 +20,10 @@ export default {
initial: {},
fields: [
[this.$t('common.Basic'), ['name']],
[this.$t('acl.users'), ['users']],
[this.$t('acl.host'), ['assets']],
[this.$t('acl.account'), ['accounts']],
[this.$t('acl.action'), ['action', 'reviewers']],
[this.$t('users.Users'), ['users']],
[this.$t('assets.Asset'), ['assets']],
[this.$t('accounts.Accounts'), ['accounts']],
[this.$t('common.Action'), ['action', 'reviewers']],
[this.$t('common.Other'), ['priority', 'is_active', 'comment']]
],
fieldsMeta: {

View File

@@ -159,7 +159,7 @@ export const assetJSONSelectMeta = (vm) => {
label: vm.$t('common.Name')
},
{
username: 'address',
name: 'address',
label: vm.$t('assets.Address')
}
]