<script>
import {seizeChat} from "../../api/other";

export default {
  name: "index",
  methods: {
    handleSeize(id){
      seizeChat({
        chat_id:id
      }).then((res) => {
        console.log(res)
      });
    }
  },
  onLoad(option) {
    this.handleSeize(option.id);
  },
}
</script>

<template>

</template>

<style scoped lang="scss">

</style>