fix: 打包不成功

This commit is contained in:
xingyu4j
2025-10-22 15:41:13 +08:00
parent 2884ca72f7
commit 943ac99805
7 changed files with 11 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 495 KiB

View File

@@ -98,7 +98,7 @@ function handleAdd() {
totalPrice: undefined,
remark: undefined,
};
tableData.value.push(newRow);
tableData.value.push(newRow as any);
// 通知父组件更新
emit('update:items', [...tableData.value]);
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 495 KiB

View File

@@ -27,7 +27,8 @@ import * as CouponTemplateApi from '#/api/mall/promotion/coupon/couponTemplate';
import ColorInput from '#/components/color-input/index.vue';
import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue';
import UploadImg from '#/components/upload/image-upload.vue';
import CouponSelect from '#/views/mall/promotion/coupon/components/coupon-select.vue';
// TODO: 添加组件
// import CouponSelect from '#/views/mall/promotion/coupon/components/coupon-select.vue';
// 优惠券卡片属性面板
defineOptions({ name: 'CouponCardProperty' });

View File

@@ -19,7 +19,8 @@ import {
import ColorInput from '#/components/color-input/index.vue';
import UploadImg from '#/components/upload/image-upload.vue';
import SpuShowcase from '#/views/mall/product/spu/components/spu-showcase.vue';
// TODO: 添加组件
// import SpuShowcase from '#/views/mall/product/spu/components/spu-showcase.vue';
// 商品卡片属性面板
defineOptions({ name: 'ProductCardProperty' });
@@ -33,7 +34,7 @@ const formData = useVModel(props, 'modelValue', emit);
<ComponentContainerProperty v-model="formData.style">
<ElForm label-width="80px" :model="formData">
<ElCard header="商品列表" class="property-group" shadow="never">
<SpuShowcase v-model="formData.spuIds" />
<!-- <SpuShowcase v-model="formData.spuIds" /> -->
</ElCard>
<ElCard header="商品样式" class="property-group" shadow="never">
<ElFormItem label="布局" prop="type">

View File

@@ -1,6 +1,8 @@
<script setup lang="ts">
import type { ProductListProperty } from './config';
import { IconifyIcon } from '@vben/icons';
import { useVModel } from '@vueuse/core';
import {
ElCard,
@@ -16,7 +18,8 @@ import {
import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue';
import ColorInput from '#/components/input-with-color/index.vue';
import UploadImg from '#/components/upload/image-upload.vue';
import SpuShowcase from '#/views/mall/product/spu/components/spu-showcase.vue';
// TODO: 添加组件
// import SpuShowcase from '#/views/mall/product/spu/components/spu-showcase.vue';
// 商品栏属性面板
defineOptions({ name: 'ProductListProperty' });
@@ -30,7 +33,7 @@ const formData = useVModel(props, 'modelValue', emit);
<ComponentContainerProperty v-model="formData.style">
<ElForm label-width="80px" :model="formData">
<ElCard header="商品列表" class="property-group" shadow="never">
<SpuShowcase v-model="formData.spuIds" />
<!-- <SpuShowcase v-model="formData.spuIds" /> -->
</ElCard>
<ElCard header="商品样式" class="property-group" shadow="never">
<ElFormItem label="布局" prop="type">

Binary file not shown.

After

Width:  |  Height:  |  Size: 495 KiB