diff --git a/dbm-ui/frontend/src/components/editable-table/Column.vue b/dbm-ui/frontend/src/components/editable-table/Column.vue index af6572d9ea..f68de94bd8 100644 --- a/dbm-ui/frontend/src/components/editable-table/Column.vue +++ b/dbm-ui/frontend/src/components/editable-table/Column.vue @@ -164,7 +164,7 @@ required: true, validator: defaultValidator.required, message: `${label}不能为空`, - trigger: 'change', + trigger: 'blur', }); } if (props.email) { diff --git a/dbm-ui/frontend/src/components/editable-table/edit/Input.vue b/dbm-ui/frontend/src/components/editable-table/edit/Input.vue index 4c8527ec28..2af3ccac51 100644 --- a/dbm-ui/frontend/src/components/editable-table/edit/Input.vue +++ b/dbm-ui/frontend/src/components/editable-table/edit/Input.vue @@ -6,7 +6,14 @@ v-bind="{ ...attrs, ...props }" clearable @blur="handleBlur" - @focus="handleFocus" /> + @focus="handleFocus"> + + + diff --git a/dbm-ui/frontend/src/views/db-manage/mysql/MYSQL_ADD_SLAVE/components/ClusterColumn/ClusterWithRelateCluster.vue b/dbm-ui/frontend/src/views/db-manage/mysql/MYSQL_ADD_SLAVE/components/ClusterColumn/ClusterWithRelateCluster.vue deleted file mode 100644 index a985cfab2f..0000000000 --- a/dbm-ui/frontend/src/views/db-manage/mysql/MYSQL_ADD_SLAVE/components/ClusterColumn/ClusterWithRelateCluster.vue +++ /dev/null @@ -1,51 +0,0 @@ - - - diff --git a/dbm-ui/frontend/src/views/db-manage/mysql/MYSQL_ADD_SLAVE/components/ClusterColumn/Index.vue b/dbm-ui/frontend/src/views/db-manage/mysql/MYSQL_ADD_SLAVE/components/RenderCluster.vue similarity index 68% rename from dbm-ui/frontend/src/views/db-manage/mysql/MYSQL_ADD_SLAVE/components/ClusterColumn/Index.vue rename to dbm-ui/frontend/src/views/db-manage/mysql/MYSQL_ADD_SLAVE/components/RenderCluster.vue index 8f6a9f1806..46316a8de2 100644 --- a/dbm-ui/frontend/src/views/db-manage/mysql/MYSQL_ADD_SLAVE/components/ClusterColumn/Index.vue +++ b/dbm-ui/frontend/src/views/db-manage/mysql/MYSQL_ADD_SLAVE/components/RenderCluster.vue @@ -17,7 +17,9 @@ field="clusterDomain" fixed="left" :label="t('目标集群')" - :min-width="300"> + :loading="loading || relatedClusterLoading" + :min-width="300" + required> - + + + diff --git a/dbm-ui/frontend/src/views/db-manage/mysql/MYSQL_ADD_SLAVE/components/RenderSlaveHost.vue b/dbm-ui/frontend/src/views/db-manage/mysql/MYSQL_ADD_SLAVE/components/RenderSlaveHost.vue deleted file mode 100644 index 5a69a783f3..0000000000 --- a/dbm-ui/frontend/src/views/db-manage/mysql/MYSQL_ADD_SLAVE/components/RenderSlaveHost.vue +++ /dev/null @@ -1,168 +0,0 @@ - - - - -