<template>
  <div>
    <div @click="isShowPost = true">点击新增号位</div>
    <div @click="isShowOperation = true">点击新增部件状态</div>
    <post v-model="isShowPost" v-if="isShowPost"></post>
    <operation v-model="isShowOperation" v-if="isShowOperation"></operation>
  </div>
</template>

<script>
import post from './device-create/components/post.vue'
import operation from './device-create/components/operation.vue'
export default {
  data () {
    return {
      isShowPost: false,
      isShowOperation: false
    }
  },
  components: {
    post,
    operation
  }
}
</script>

<style>
</style>
