<template>
  <div>
    <el-input
      v-model="input"
      placeholder="请输入内容"
    />
    <div @click="onTest">testMessage</div>
  </div>
</template>

<script>
import ScopeIdMixin from '../../layouts/mixin/ScopeIdMixin';
export default {
  name: 'Role',
  mixins: [ScopeIdMixin],
  props: {
    // loadOptions: Object,
  },
  data() {
    return {
      input: '',
    };
  },
  mounted() {
    this.input = 1;
    // console.log('---role-mounted--', this);

    // console.log('---scopId---role', this)
    // const { scopeId } = this.loadOptions;
    // Eui.Ipc.addSubscribes(
    //   {
    //     'test:message': (e, data) => {
    //       console.log('---test---message---222', data)
    //     }
    //   },
    //   { scopeId },
    // );
  },
  methods: {
    // onTest: function(){
    //   Eui.Ipc.send('test:message', 1)
    // }
  },
};
</script>
