Browse Source

fix text bug

haojianlong 5 years ago
parent
commit
e38259a22f
1 changed files with 7 additions and 7 deletions
  1. 7 7
      src/components/point/dynamicdata/historyDialog.vue

+ 7 - 7
src/components/point/dynamicdata/historyDialog.vue

@@ -8,7 +8,7 @@
             <template slot-scope="scope">
               <div v-for="t in scope.row.leftList" :key="t.id">
                 <el-tooltip :content="t.Datasource" placement="top">
-                  <span>{{t.Datasource}}</span>
+                  <div>{{t.Datasource}}</div>
                 </el-tooltip>
               </div>
             </template>
@@ -17,7 +17,7 @@
             <template slot-scope="scope">
               <div v-for="t in scope.row.leftList" :key="t.id">
                 <el-tooltip :content="t.LocationFlag.toString()" placement="top">
-                  <span>{{t.LocationFlag.toString()}}</span>
+                  <div>{{t.LocationFlag.toString()}}</div>
                 </el-tooltip>
               </div>
             </template>
@@ -26,7 +26,7 @@
             <template slot-scope="scope">
               <div v-for="t in scope.row.leftList" :key="t.id">
                 <el-tooltip :content="t.EquipmentMark" placement="top">
-                  <span>{{t.EquipmentMark}}</span>
+                  <div>{{t.EquipmentMark}}</div>
                 </el-tooltip>
               </div>
             </template>
@@ -37,7 +37,7 @@
             <template slot-scope="scope">
               <div v-for="t in scope.row.rightList" :key="t.id">
                 <el-tooltip :content="t.EquipLocalName" placement="top">
-                  <span>{{t.EquipLocalName}}</span>
+                  <div>{{t.EquipLocalName}}</div>
                 </el-tooltip>
               </div>
             </template>
@@ -46,7 +46,7 @@
             <template slot-scope="scope">
               <div v-for="t in scope.row.rightList" :key="t.id">
                 <el-tooltip :content="t.ObjectID" placement="top">
-                  <span>{{t.ObjectID}}</span>
+                  <div>{{t.ObjectID}}</div>
                 </el-tooltip>
               </div>
             </template>
@@ -55,7 +55,7 @@
             <template slot-scope="scope">
               <div v-for="t in scope.row.rightList" :key="t.id">
                 <el-tooltip :content="t.FloorLocalName" placement="top">
-                  <span>{{t.FloorLocalName}}</span>
+                  <div>{{t.FloorLocalName}}</div>
                 </el-tooltip>
               </div>
             </template>
@@ -64,7 +64,7 @@
             <template slot-scope="scope">
               <div v-for="t in scope.row.rightList" :key="t.id">
                 <el-tooltip :content="t.RoomLocalName" placement="top">
-                  <span>{{t.RoomLocalName}}</span>
+                  <div>{{t.RoomLocalName}}</div>
                 </el-tooltip>
               </div>
             </template>