You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by ki...@apache.org on 2020/07/23 09:20:39 UTC

[shardingsphere-elasticjob-ui] 10/47: Fixes checkstyle

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

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

commit 46f6743969a2ca9024ee56a2cf8e8ea983c5f984
Author: menghaoranss <lo...@163.com>
AuthorDate: Fri Jul 17 18:43:40 2020 +0800

    Fixes checkstyle
---
 .../src/views/data-source/module/dataSource.vue    |  2 +-
 .../src/views/help/index.vue                       | 22 +++++++++++-----------
 .../registry-center/module/registryCenter.vue      |  6 +++---
 3 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/shardingsphere-elasticjob-ui-frontend/src/views/data-source/module/dataSource.vue b/shardingsphere-elasticjob-ui-frontend/src/views/data-source/module/dataSource.vue
index 3da97a7..10ccf74 100644
--- a/shardingsphere-elasticjob-ui-frontend/src/views/data-source/module/dataSource.vue
+++ b/shardingsphere-elasticjob-ui-frontend/src/views/data-source/module/dataSource.vue
@@ -22,8 +22,8 @@
         class="btn-plus"
         type="primary"
         icon="el-icon-plus"
-        @click="add"
         :disabled="isGuest"
+        @click="add"
       >{{ $t("dataSource.btnTxt") }}</el-button>
     </div>
     <div class="table-wrap">
diff --git a/shardingsphere-elasticjob-ui-frontend/src/views/help/index.vue b/shardingsphere-elasticjob-ui-frontend/src/views/help/index.vue
index a6874d8..9c8762b 100644
--- a/shardingsphere-elasticjob-ui-frontend/src/views/help/index.vue
+++ b/shardingsphere-elasticjob-ui-frontend/src/views/help/index.vue
@@ -18,22 +18,22 @@
 <template>
   <div class="help-content">
     <section class="content">
-      <h2>{{$t('help.design_concept_title')}}</h2>
+      <h2>{{ $t('help.design_concept_title') }}</h2>
       <ol>
-        <li>{{$t('help.design_concept_info_1')}}</li>
-        <li>{{$t('help.design_concept_info_2')}}</li>
+        <li>{{ $t('help.design_concept_info_1') }}</li>
+        <li>{{ $t('help.design_concept_info_2') }}</li>
       </ol>
-      <h2>{{$t('help.major_features_title')}}</h2>
+      <h2>{{ $t('help.major_features_title') }}</h2>
       <ol>
-        <li>{{$t('help.major_features_info_1')}}</li>
-        <li>{{$t('help.major_features_info_2')}}</li>
-        <li>{{$t('help.major_features_info_3')}}</li>
-        <li>{{$t('help.major_features_info_4')}}</li>
-        <li>{{$t('help.major_features_info_5')}}</li>
+        <li>{{ $t('help.major_features_info_1') }}</li>
+        <li>{{ $t('help.major_features_info_2') }}</li>
+        <li>{{ $t('help.major_features_info_3') }}</li>
+        <li>{{ $t('help.major_features_info_4') }}</li>
+        <li>{{ $t('help.major_features_info_5') }}</li>
       </ol>
-      <h2>{{$t('help.unsupported_title')}}</h2>
+      <h2>{{ $t('help.unsupported_title') }}</h2>
       <ol>
-        <li>{{$t('help.unsupported_info')}}</li>
+        <li>{{ $t('help.unsupported_info') }}</li>
       </ol>
     </section>
   </div>
diff --git a/shardingsphere-elasticjob-ui-frontend/src/views/registry-center/module/registryCenter.vue b/shardingsphere-elasticjob-ui-frontend/src/views/registry-center/module/registryCenter.vue
index d762f6e..338dea2 100644
--- a/shardingsphere-elasticjob-ui-frontend/src/views/registry-center/module/registryCenter.vue
+++ b/shardingsphere-elasticjob-ui-frontend/src/views/registry-center/module/registryCenter.vue
@@ -22,8 +22,8 @@
         class="btn-plus"
         type="primary"
         icon="el-icon-plus"
-        @click="add"
         :disabled="isGuest"
+        @click="add"
       >{{ $t("registryCenter.btnTxt") }}</el-button>
     </div>
     <div class="table-wrap">
@@ -47,8 +47,8 @@
                 type="primary"
                 icon="el-icon-link"
                 size="small"
-                @click="handleConnect(scope.row)"
                 :disabled="isGuest"
+                @click="handleConnect(scope.row)"
               />
             </el-tooltip>
             <el-tooltip
@@ -61,8 +61,8 @@
                 size="small"
                 type="danger"
                 icon="el-icon-delete"
-                @click="handlerDel(scope.row)"
                 :disabled="isGuest"
+                @click="handlerDel(scope.row)"
               />
             </el-tooltip>
           </template>