<script setup>
import './sys-message.less'
import { useInject } from '@/hooks'

const { showUserInfoModal } = useInject()

defineProps({
  extra: Object,
  data: Object
})
</script>

<template>
  <div class="im-message-sys-text">
    <div class="sys-text">
      <a @click="showUserInfoModal(data.user_id)">
        <!-- {{ data.nickname }} -->
          管理员
      </a>
      <!-- <span>修改群名为</span>
      <span>"{{ extra.group_name }}"</span> -->
      <span>修改了群信息</span>
    </div>
  </div>
</template>
