diff --git a/src/api/material.ts b/src/api/material.ts index 8765569..7561373 100644 --- a/src/api/material.ts +++ b/src/api/material.ts @@ -73,6 +73,7 @@ export const getFontSub = (params: TGetFontSubParam, extra: TGetFontSubExtra = { type TGetImageListParams = { page?: number + pageSize?: number cate?: number } diff --git a/src/assets/data/TextIconsData.ts b/src/assets/data/TextIconsData.ts index 80d554e..98c77be 100644 --- a/src/assets/data/TextIconsData.ts +++ b/src/assets/data/TextIconsData.ts @@ -14,6 +14,7 @@ export type TStyleIconData = { tip: string value: string[] select: boolean + extraIcon?: boolean, } export const styleIconList1 = [ diff --git a/src/common/methods/DesignFeatures/setWidgetData.ts b/src/common/methods/DesignFeatures/setWidgetData.ts index 2d54607..2a74872 100644 --- a/src/common/methods/DesignFeatures/setWidgetData.ts +++ b/src/common/methods/DesignFeatures/setWidgetData.ts @@ -13,7 +13,8 @@ import wImageSetting from '@/components/modules/widgets/wImage/wImageSetting' // import wText from '@/components/modules/widgets/wText/wText.vue' import { wTextSetting } from '@/components/modules/widgets/wText/wTextSetting' import wImage from '@/components/modules/widgets/wImage/wImage.vue' -import wSvg from '@/components/modules/widgets/wSvg/wSvg.vue' +// import wSvg from '@/components/modules/widgets/wSvg/wSvg.vue' +import { wSvgSetting } from '@/components/modules/widgets/wSvg/wSvgSetting' export default async function(type: string, item: TCommonItemData, data: Record) { let setting = data @@ -36,7 +37,7 @@ export default async function(type: string, item: TCommonItemData, data: Record< setting.mask = item.value.url } if (type === 'svg') { - setting = JSON.parse(JSON.stringify(wSvg.setting)) + setting = JSON.parse(JSON.stringify(wSvgSetting)) const img = await setImageData(item.value) setting.width = img.width setting.height = img.height // parseInt(100 / item.value.ratio, 10) diff --git a/src/components/modules/panel/wrap/GraphListWrap.vue b/src/components/modules/panel/wrap/GraphListWrap.vue index 7d16256..9f06c8a 100644 --- a/src/components/modules/panel/wrap/GraphListWrap.vue +++ b/src/components/modules/panel/wrap/GraphListWrap.vue @@ -7,7 +7,7 @@ --> -