Skip to content

Commit

Permalink
fix: 体验提单修复 (#1608)
Browse files Browse the repository at this point in the history
  • Loading branch information
leafage-collb authored Sep 19, 2024
1 parent 3059d66 commit 1ae5018
Show file tree
Hide file tree
Showing 5 changed files with 479 additions and 431 deletions.
34 changes: 18 additions & 16 deletions webfe/package_vue/src/components/authentication-info.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,22 +55,24 @@
</bk-table-column>
<bk-table-column :label="$t('应用密钥 (bk_app_secret)')" min-width="315">
<template slot-scope="props">
<span>
{{ appSecret && isDefault(props.row.bk_app_secret) ? appSecret : props.row.bk_app_secret }}&nbsp;
</span>
<span
v-if="isView(props.row.bk_app_secret) && (!isViewMode || !isDefault(props.row.bk_app_secret))"
v-bk-tooltips="platformFeature.VERIFICATION_CODE ? $t('验证查看') : $t('点击查看')"
class="paasng-icon paasng-eye-slash icon-color"
style="cursor: pointer"
@click="getSecretDetail(props.row)"
/>
<span
v-else
class="paasng-icon paasng-general-copy icon-color copy"
style="cursor: pointer"
v-copy="appSecret && isDefault(props.row.bk_app_secret) ? appSecret : props.row.bk_app_secret"
/>
<div class="flex-row">
<span>
{{ appSecret && isDefault(props.row.bk_app_secret) ? appSecret : props.row.bk_app_secret }}&nbsp;
</span>
<span
v-if="isView(props.row.bk_app_secret) && (!isViewMode || !isDefault(props.row.bk_app_secret))"
v-bk-tooltips="platformFeature.VERIFICATION_CODE ? $t('验证查看') : $t('点击查看')"
class="paasng-icon paasng-eye-slash icon-color"
style="cursor: pointer"
@click="getSecretDetail(props.row)"
/>
<span
v-else
class="paasng-icon paasng-general-copy icon-color copy"
style="cursor: pointer"
v-copy="appSecret && isDefault(props.row.bk_app_secret) ? appSecret : props.row.bk_app_secret"
/>
</div>
</template>
</bk-table-column>
<bk-table-column :label="$t('创建时间')" prop="created_at"></bk-table-column>
Expand Down
1 change: 1 addition & 0 deletions webfe/package_vue/src/language/lang/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -2810,4 +2810,5 @@ export default {
测试号: 'Test number',
已终止: 'Terminated',
'主版本号、次版本号、修正版本号': 'Major version number, minor version number, patch version number',
'当前有其他应用({id})正在迁移,需待迁移完成后才能开启新应用的迁移。': 'Another application ({id}) is currently being migrated. Please wait until the migration is complete before starting a new application migration.',
};
1 change: 1 addition & 0 deletions webfe/package_vue/src/language/lang/zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -2947,4 +2947,5 @@ export default {
测试号: '测试号',
已终止: '已终止',
'主版本号、次版本号、修正版本号': '主版本号、次版本号、修正版本号',
'当前有其他应用({id})正在迁移,需待迁移完成后才能开启新应用的迁移。': '当前有其他应用({id})正在迁移,需待迁移完成后才能开启新应用的迁移。',
};
Loading

0 comments on commit 1ae5018

Please sign in to comment.