<style lang="less" scoped>
.PetAppoint {
}
</style>
<template>
  <div class="PetAppoint">
    <van-dialog
      v-model="value"
      title="标题"
      theme="round-button"
      @close="transStatus"
    >
      <img src="https://img.yzcdn.cn/vant/apple-3.jpg" />
    </van-dialog>
  </div>
</template>

<script>
export default {
  name: "PetAppoint",
  components: {},
  props: {
    value: {
      type: Boolean,
      default: false,
    },
  },
  model: {
    prop: "value",
    event: "input",
  },
  data() {
    return {};
  },
  watch: {},
  computed: {},
  methods: {
    transStatus() {
      this.$emit("input", false);
    },
  },
  created() {},
  mounted() {},
};
</script>

 

Logo

欢迎加入 MCP 技术社区!与志同道合者携手前行,一同解锁 MCP 技术的无限可能!

更多推荐