diff --git a/apps/dfs/src/views/workbench/Workbench.vue b/apps/dfs/src/views/workbench/Workbench.vue index 3003c3a620..18117649a7 100644 --- a/apps/dfs/src/views/workbench/Workbench.vue +++ b/apps/dfs/src/views/workbench/Workbench.vue @@ -405,6 +405,13 @@ export default { }, loadNotices() { this.notices = [ + { + id: 6, + type: '', + name: 'Tapdata Cloud 3.1.7 Release Notes', + link: 'https://mp.weixin.qq.com/s/npognQxT4O4xzc4u1bb4mg', + time: '2023-02-21 21:00' + }, { id: 5, type: '', diff --git a/packages/dag/src/locale/lang/zh-CN.js b/packages/dag/src/locale/lang/zh-CN.js index 4b6d02d5c5..e173d696cc 100644 --- a/packages/dag/src/locale/lang/zh-CN.js +++ b/packages/dag/src/locale/lang/zh-CN.js @@ -540,7 +540,7 @@ export default { packages_dag_migration_settingpanel_cronbiao: 'Cron表达式格式有误', packages_dag_hooks_useaftertasksaved_moxingyishengcheng: '模型已生成,执行 callback', packages_dag_mixins_editor_wsshoudaole: 'ws收到了其他任务的返回', - packages_dag_nodes_database_tongjizhuijiaxie: '统计追加写入', + packages_dag_nodes_database_tongjizhuijiaxie: '统一追加写入', packages_dag_nodes_database_anshijianleixing: '按事件类型处理', packages_dag_nodes_database_tongjizhuijiaxie2: '统计追加写入: 只处理插入事件,丢弃更新和删除事件', packages_dag_nodes_database_setting_cdc_changjing_desc: '纯增量场景下,不支持对目标表结构和数据的清除操作。', diff --git a/packages/dag/src/nodes/Table.js b/packages/dag/src/nodes/Table.js index b4c585e556..664ace0365 100644 --- a/packages/dag/src/nodes/Table.js +++ b/packages/dag/src/nodes/Table.js @@ -782,7 +782,15 @@ export class Table extends NodeType { label: i18n.t('packages_dag_nodes_database_tongjizhuijiaxie'), value: 'appendWrite' } - ] + ], + 'x-reactions': { + target: '*(dmlPolicy,updateConditionFields)', + fulfill: { + state: { + display: '{{$self.value === "appendWrite" ? "hidden":"visible"}}' + } + } + } } } }, @@ -857,14 +865,6 @@ export class Table extends NodeType { effect: 'light' } } - }, - 'x-reactions': { - dependencies: ['writeStrategy'], - fulfill: { - state: { - display: '{{$deps[0] === "appendWrite" ? "hidden":"visible"}}' - } - } } }, updateConditionFields: {