Browse Source

fix:修复data.vue

Grnetsky 7 months ago
parent
commit
c71c4c8934
1 changed files with 6 additions and 6 deletions
  1. 6 6
      src/views/components/Data.vue

+ 6 - 6
src/views/components/Data.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="content" :draggable="false" :v-if="group === $t('属性')">
+  <div class="content" :draggable="false" v-if="group === $t('属性')">
     <div class="flex between">
       <div class="title">{{ group }}{{$t( '列表' )}}</div>
       <div class="flex between">
@@ -263,14 +263,14 @@
       </div>
     </div>
     <div class="flex column middle nodata" v-else>
-      <img src="/img/no-data.png">
-      <div class="gray center">{{$t('暂无数据')}}</div>
+      <img src="/img/no-data.png" />
+      <div class="gray center">{{$t( '暂无数据' )}}</div>
       <div class="mt-20">
         <t-button theme="primary" @click="showAddData()"> {{$t('新建属性')}} </t-button>
       </div>
     </div>
   </div>
-  <div class="content" :v-if="'group' === $t('数据源')">
+  <div class="content" v-if="'group' === $t('数据源')">
     <div class="flex between">
       <div class="title">{{ group }}</div>
       <div class="flex between">
@@ -368,8 +368,8 @@
       </div>
     </div>
     <div class="flex column middle nodata" v-else>
-      <img src="/img/no-data.png">
-      <div class="gray center">{{$t('暂无数据')}}</div>
+      <img src="/img/no-data.png" />
+      <div class="gray center">{{$t( '暂无数据' )}}</div>
       <div class="mt-20">
         <t-button theme="primary" @click="addNetwork()">
           {{$t('添加数据源')}}