wangjuncheng
2025-04-15 080ff408e2b954fd1d1f812e51a49c0fc0e42f32
src/views/left/Left.vue
@@ -7,8 +7,8 @@
      <div
        style="
          display: flex;
          justify-content: flex-end;
          padding: 8px 8px 0px 0px;
          justify-content: space-around;
          padding: 8px 8px 8px 0px;
        "
      >
        <el-button @click="handleClick">新建仿真方案</el-button>
@@ -35,7 +35,7 @@
    </div>
  </div>
  <div class="left" v-show="showAddIns">
    <simulation @start="start" @end="end"/>
    <simulation @start="start" @end="end" @back="handleBack" />
  </div>
</template>
@@ -306,7 +306,9 @@
  // currentMock.value = mock.name;
  showAddIns.value = true;
}
function handleBack(value) {
  showAddIns.value = false; // 隐藏子组件
}
function initDevicePoint() {
  list.forEach((item) => {
    item.id = item.id + item.alias;