Browse Source

1.文案修改添加设备->添加显示实例
2.发布失败改为使用error提示

yunxing 4 years ago
parent
commit
3daafc6b56

+ 2 - 2
src/components/editview/leftToolBar/equipmentList.vue

@@ -69,8 +69,8 @@
             </div>
         </div>
 
-        <!-- 添加设备 -->
-        <div class="addbtn" @click="openAddEquipDialog"><i class="el-icon-plus"></i>添加设备</div>
+        <!-- 添加显示实例 -->
+        <div class="addbtn" @click="openAddEquipDialog"><i class="el-icon-plus"></i>添加显示实例</div>
         <edit-info-point type="equipment" @closeModal="showEditInfoPoint = false" :code="classCode" :showDialog="showEditInfoPoint" />
     </div>
 </template>

+ 1 - 1
src/components/homeView/planImageCard.vue

@@ -116,7 +116,7 @@ export default {
                         this.$message.success("发布成功");
                         this.$emit("publishSuc");
                     } else {
-                        this.$message.success("发布失败");
+                        this.$message.error("发布失败");
                     }
 
                     break;