You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by me...@apache.org on 2020/09/11 06:53:19 UTC

[shardingsphere-ui] branch master updated: Remove metadata config when add schema

This is an automated email from the ASF dual-hosted git repository.

menghaoran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-ui.git


The following commit(s) were added to refs/heads/master by this push:
     new e2f8762  Remove metadata config when add schema
     new c114464  Merge pull request #16 from menghaoranss/7288-2
e2f8762 is described below

commit e2f87626aa24743b746341e9ea4b6144da93970a
Author: menghaoranss <lo...@163.com>
AuthorDate: Fri Sep 11 14:44:57 2020 +0800

    Remove metadata config when add schema
---
 .../ui/common/dto/ShardingSphereSchemaDTO.java             |  1 -
 .../src/views/rule-config/module/schema.vue                | 14 +-------------
 2 files changed, 1 insertion(+), 14 deletions(-)

diff --git a/shardingsphere-ui-backend/src/main/java/org/apache/shardingsphere/ui/common/dto/ShardingSphereSchemaDTO.java b/shardingsphere-ui-backend/src/main/java/org/apache/shardingsphere/ui/common/dto/ShardingSphereSchemaDTO.java
index ee85e60..ee43095 100644
--- a/shardingsphere-ui-backend/src/main/java/org/apache/shardingsphere/ui/common/dto/ShardingSphereSchemaDTO.java
+++ b/shardingsphere-ui-backend/src/main/java/org/apache/shardingsphere/ui/common/dto/ShardingSphereSchemaDTO.java
@@ -36,5 +36,4 @@ public final class ShardingSphereSchemaDTO {
     private String ruleConfiguration;
     
     private String dataSourceConfiguration;
-    
 }
diff --git a/shardingsphere-ui-frontend/src/views/rule-config/module/schema.vue b/shardingsphere-ui-frontend/src/views/rule-config/module/schema.vue
index 9a24377..da5094a 100644
--- a/shardingsphere-ui-frontend/src/views/rule-config/module/schema.vue
+++ b/shardingsphere-ui-frontend/src/views/rule-config/module/schema.vue
@@ -122,17 +122,6 @@
             class="edit-text"
           />
         </el-form-item>
-        <el-form-item :label="$t('ruleConfig.schema.metadataConfig')" prop="metadataConfig">
-          <el-input
-            :placeholder="$t('ruleConfig.schemaRules.metadataConfig')"
-            :rows="8"
-            v-model="form.metadataConfig"
-            autocomplete="off"
-            type="string"
-            readonly
-            class="edit-text"
-          />
-        </el-form-item>
       </el-form>
       <div slot="footer" class="dialog-footer">
         <el-button @click="addSchemaDialogVisible = false">{{ $t('btn.cancel') }}</el-button>
@@ -176,8 +165,7 @@ export default {
       form: {
         name: '',
         ruleConfig: '',
-        dataSourceConfig: '',
-        metadataConfig: ''
+        dataSourceConfig: ''
       },
       rules: {
         name: [