<template>
  <div>
    <h1>我是RD</h1>
    <br />
    <h2>count: {{ number }}</h2>
    <button @click="add()">+1</button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      number: 0,
    };
  },
  methods: {
    add() {
      this.number++;
    },
  },
};
</script>

<style>
</style>