<script>
// import http from "../api/http";
export default /*#__PURE__*/ {
  name: "ele", // vue component name
  data() {
    return {
      counter: 5,
      initCounter: 5,
      message: {
        action: null,
        amount: null,
      },
    };
  },
  computed: {},
  mounted() {
    //this.getData();
  },
  methods: {
    getData() {
      http
        .post(`/sys/userinfo/queryLists`, {
          cpage: this.pageNum,
          pageSize: this.pageSize,
          ...this.query,
        })
        .then((res) => {
          this.tableData = res.data.list;
          this.total = res.data.total || 0;
        })
        .catch((err) => {});
    },
  },
};
</script>

<template>
  <div class="txy_vue_component-sample">
    <el-button style="padding: 8px 10px" size="small" type="danger"> 123123 </el-button>
  </div>
</template>

<style scoped>
.txy_vue_component-sample {
  display: block;
  width: 400px;
  margin: 25px auto;
  border: 1px solid #ccc;
  background: #eaeaea;
  text-align: center;
  padding: 25px;
}
.txy_vue_component-sample p {
  margin: 0 0 1em;
}
</style>
