NEZ-1895 perf : 添加token列,取消Administration - api keys添加按钮

This commit is contained in:
likexuan
2022-06-10 10:41:25 +08:00
parent e6161147ce
commit b0b625ce60
3 changed files with 16 additions and 5 deletions

View File

@@ -38,6 +38,9 @@
</template>
<template v-if="item.prop == 'name'">
{{scope.row[item.prop]?scope.row[item.prop]:'-'}}
</template>
<template v-if="item.prop == 'token'">
{{scope.row[item.prop]?scope.row[item.prop]:'-'}}
</template>
<template v-if="item.prop == 'expireAt'">
{{scope.row[item.prop]?utcTimeToTimezoneStr(scope.row[item.prop]):'-'}}
@@ -97,10 +100,17 @@ export default {
}, {
label: this.$t('overall.name'),
prop: 'name',
minWidth: 100,
show: true
}, {
label: this.$t('asset.talon.token'),
prop: 'token',
minWidth: 180,
show: true
}, {
label: this.$t('config.system.apiKey.expireAt'),
prop: 'expireAt',
minWidth: 100,
show: true
}, {
label: this.$t('config.system.apiKey.creatAt'),