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

<script lang="ts">
import { Options, prop, Vue } from "vue-class-component";

class Props {
  params: any; // 路由传递过来的参数
}

@Options({
  name: "TestA",
})
export default class TestA extends Vue.with(Props) {
  datax = "";
}
</script>

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