<template>
  <view class="container">
    <AddComment :viewId="id" />
  </view>
</template>
<script>
import AddComment from "@/pages/template/bomb/addComment.vue";
export default {
  components: {
    AddComment,
  },
  data() {
    return {
      id: null,
    };
  },
  onLoad() {
    console.log("viewview");
    let routes = getCurrentPages();
    this.id = routes[routes.length - 1]?.options?.id;
  },
  methods: {},
};
</script>

<style lang="scss" scoped>
</style>