提交 4055ef2f 编写于 作者: C Captain.B

点击显示 secretkey i18n

上级 8fa2a226
......@@ -17,7 +17,11 @@
<el-table :data="tableData" style="width: 100%">
<el-table-column prop="accessKey" label="Access Key"/>
<el-table-column prop="secretKey" label="Secret Key"/>
<el-table-column prop="secretKey" label="Secret Key">
<template v-slot:default="scope">
<el-link type="info" @click="showSecretKey(scope.row)">{{$t('commons.show')}}</el-link>
</template>
</el-table-column>
<el-table-column prop="status" :label="$t('commons.status')">
<template v-slot:default="scope">
<el-switch v-model="scope.row.status"
......@@ -116,6 +120,9 @@
});
}
},
showSecretKey(row) {
this.$alert(row.secretKey, 'Secret Key');
}
}
}
</script>
......
......@@ -37,6 +37,7 @@ export default {
'personal_info': 'Personal Info',
'status': 'Status',
'show_all': 'Show All',
'show': 'Show',
'report': 'Report',
'user': 'User',
'system': 'System',
......
......@@ -37,6 +37,7 @@ export default {
'personal_info': '个人信息',
'status': '状态',
'show_all': '显示全部',
'show': '显示',
'report': '报告',
'user': '用户',
'system': '系统',
......
......@@ -37,6 +37,7 @@ export default {
'personal_info': '個人信息',
'status': '狀態',
'show_all': '顯示全部',
'show': '顯示',
'report': '報告',
'user': '用戶',
'system': '系統',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册