<template>
  <div>
    <div>测试页面</div>
    <div><input v-model="data" type="text" /></div>
  </div>
</template>

<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";

@Component({
  name: "TestA",
})
export default class TestA extends Vue {
  data = "";
  @Prop() params: any; // 路由传递过来的参数
}
</script>

<style scoped lang="scss"></style>
