|
@@ -344,7 +344,7 @@ export const _preFrameDownload = async (type: Frame) => {
|
|
|
//处理付费svg
|
|
|
if (Object.keys(data.paths).length >= 3) {
|
|
|
//简单判断有无svg图元
|
|
|
- const res: any = await axios.post('/api/paid/2d/component', {
|
|
|
+ const res: any = await axios.post('/api/paid/2d/component?pageSize=1000', {
|
|
|
type: 'SVG线性图元',
|
|
|
});
|
|
|
if (res.list.length === 1 && !res.list[0].name) {
|
|
@@ -818,7 +818,7 @@ export const getFrameDownloadList = async (meta2dData: any, path: string = 'v',t
|
|
|
});
|
|
|
});
|
|
|
|
|
|
- const res: any = await axios.post('/api/paid/2d/component', {
|
|
|
+ const res: any = await axios.post('/api/paid/2d/component?pageSize=1000', {
|
|
|
type: 'JS线性图元',
|
|
|
});
|
|
|
let purchased = res.list.map((item) => item.name);
|