<template>
  <div>
    <div>测试页面</div>
    <div><input v-model="data" type="text" /></div>
    {{ newIconfontUrl }}
    <icon-font name="dhcc-icon-contract" :url="newIconfontUrl"></icon-font>
  </div>
</template>

<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";
import { IconFont } from "tdesign-icons-vue";
@Component({
  name: "TestA",
  components: {
    IconFont,
  },
})
export default class TestA extends Vue {
  data = "";
  // newIconfontUrl = "/dhcc-icon/style.css";
  newIconfontUrl = process.env.VUE_APP_MS_AUTH_API + "/style.css";

  @Prop() params: any; // 路由传递过来的参数
}
</script>

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