guoxiaohuan hace 4 años
padre
commit
fb52aae4ac
Se han modificado 2 ficheros con 6 adiciones y 5 borrados
  1. 5 3
      src/components/edit.vue
  2. 1 2
      src/views/floorFunc/index.vue

+ 5 - 3
src/components/edit.vue

@@ -17,13 +17,12 @@
                 </span>
             </el-tooltip>
         </div>
-        <legend-remarks ref='EditdMarks'></legend-remarks>
+        <remarks ref='EditdMarks'></remarks>
     </div>
 </template>
 <script>
-import LegendRemarks from '@/components/legendremarks'
+import Remarks from './legendremarks'
 export default {
-    components: { LegendRemarks },
     data() {
         return {
             text: '1.主要设备房包括:制冷机房、生活水泵房、消防泵房2.图例后    的数字,代表此位置的数量'
@@ -35,6 +34,9 @@ export default {
             this.$refs.EditdMarks.showModal()
         }
     },
+    components: {
+        Remarks
+    },
     mounted() {}
 }
 </script>

+ 1 - 2
src/views/floorFunc/index.vue

@@ -17,10 +17,9 @@
 import floorMap from '@/components/floorMap/index.vue'
 import floorList from '@/components/floorList.vue'
 import bottomLayer from '../equipment/bottomLayer'
-import LegendRemarks from './legendremarks' //编辑图例备注
 
 export default {
-    components: { floorMap, floorList, bottomLayer, LegendRemarks },
+    components: { floorMap, floorList, bottomLayer },
     data() {
         return {
             imgUrl: [