合并 master 代码的冲突

pull/175/head^2
YunaiV 2023-06-23 14:08:09 +08:00
parent b159240824
commit e1b1c134d9
4 changed files with 11 additions and 5 deletions

View File

@ -27,13 +27,15 @@
</Descriptions>
</template>
<script lang="ts" setup>
defineOptions({ name: 'DescriptionForm' })
import type { Spu } from '@/api/mall/product/spu'
import { Editor } from '@/components/Editor'
import { PropType } from 'vue'
import { propTypes } from '@/utils/propTypes'
import { copyValueToTarget } from '@/utils'
import { descriptionSchema } from './spu.data'
defineOptions({ name: 'DescriptionForm' })
const message = useMessage() //
const { allSchemas } = useCrudSchemas(descriptionSchema)

View File

@ -84,17 +84,18 @@
</Descriptions>
</template>
<script lang="ts" setup>
defineOptions({ name: 'OtherSettingsForm' })
import type { Spu } from '@/api/mall/product/spu'
import { PropType } from 'vue'
import { propTypes } from '@/utils/propTypes'
import { copyValueToTarget } from '@/utils'
import { otherSettingsSchema } from './spu.data'
const { allSchemas } = useCrudSchemas(otherSettingsSchema)
defineOptions({ name: 'OtherSettingsForm' })
const message = useMessage() //
const { allSchemas } = useCrudSchemas(otherSettingsSchema)
const props = defineProps({
propFormData: {
type: Object as PropType<Spu>,

View File

@ -18,8 +18,10 @@
</Dialog>
</template>
<script lang="ts" setup>
defineOptions({ name: 'ProductPropertyForm' })
import * as PropertyApi from '@/api/mall/product/property'
defineOptions({ name: 'ProductPropertyForm' })
const { t } = useI18n() //
const message = useMessage() //

View File

@ -190,7 +190,6 @@
</el-table>
</template>
<script lang="ts" setup>
defineOptions({ name: 'SkuList' })
import { PropType, Ref } from 'vue'
import { copyValueToTarget } from '@/utils'
import { propTypes } from '@/utils/propTypes'
@ -198,6 +197,8 @@ import { UploadImg } from '@/components/UploadFile'
import type { Property, Sku, Spu } from '@/api/mall/product/spu'
import { createImageViewer } from '@/components/ImageViewer'
defineOptions({ name: 'SkuList' })
const props = defineProps({
propFormData: {
type: Object as PropType<Spu>,