gaoluyang
2026-06-24 0ce68379718b7c751b8a84aa4b28cbaf072e6c8f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<script setup lang="ts">
import type { UserCouponProperty } from './config';
 
import { useVModel } from '@vueuse/core';
 
import ComponentContainerProperty from '../../component-container-property.vue';
 
// 用户卡券属性面板
defineOptions({ name: 'UserCouponProperty' });
 
const props = defineProps<{ modelValue: UserCouponProperty }>();
const emit = defineEmits(['update:modelValue']);
const formData = useVModel(props, 'modelValue', emit);
</script>
 
<template>
  <ComponentContainerProperty v-model="formData.style" />
</template>