diff --git a/framework/sdk-parent/frontend/src/i18n/lang/en-US.js b/framework/sdk-parent/frontend/src/i18n/lang/en-US.js index 0bafdb5d48..23135654c2 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/en-US.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/en-US.js @@ -556,6 +556,7 @@ const message = { workstation: { sync: 'Synchronize', sync_setting: 'Sync settings', + no_sync_content: 'Nothing to sync', custom_update_list_rule: 'Customize to-be-updated list rules', ignore: 'Ignore', past: 'past', diff --git a/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js b/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js index bf3f7869e0..9015741bee 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js @@ -557,6 +557,7 @@ const message = { workstation: { sync: '同步', sync_setting: '同步设置', + no_sync_content: '没有需要同步的内容', custom_update_list_rule: '自定义待更新列表规则', ignore: '忽略', past: '过去', diff --git a/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js b/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js index 49a50d9c7f..d9d4e43aac 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js @@ -556,6 +556,7 @@ const message = { workstation: { sync: '同步', sync_setting: '同步設置', + no_sync_content: '沒有需要同步的內容', custom_update_list_rule: '自定義待更新列表規則', ignore: '忽略', past: '過去', diff --git a/workstation/frontend/src/business/component/ApiCaseTableList.vue b/workstation/frontend/src/business/component/ApiCaseTableList.vue index 5e8a8cc8f7..dffaf707cf 100644 --- a/workstation/frontend/src/business/component/ApiCaseTableList.vue +++ b/workstation/frontend/src/business/component/ApiCaseTableList.vue @@ -407,14 +407,14 @@ export default { permissions: ['PROJECT_API_DEFINITION:READ+EDIT_CASE'] }, { - tip: this.$t('workstation.sync'), + tip: this.systemDisable ? this.$t('workstation.no_sync_content') : this.$t('workstation.sync'), icon: "el-icon-refresh", exec: this.openSyncCase, isDisable: this.systemDisable, permissions: ['PROJECT_API_DEFINITION:READ+EDIT_API'] }, { - tip: this.$t('workstation.ignore'), + tip: this.systemDisable ? this.$t('workstation.no_sync_content') : this.$t('workstation.ignore'), icon: "el-icon-close", exec: this.openIgnoreCase, isDisable: this.systemDisable,